Created
July 17, 2015 05:55
-
-
Save cametan001/3a956a3f69f90bd3f44f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define (Combination stream1 stream2) | |
(let ((stream1 (stream-cdr (stream-cdr (stream-cdr stream1)))) | |
(stream2 (stream-cdr (stream-cdr (stream-cdr stream2))))) | |
(stream-map (lambda (p1 p2) | |
(* (- p1 (if (<= p1 p2) | |
(- p2 m1) | |
p2)) norm)) | |
stream1 stream2))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment