Skip to content

Instantly share code, notes, and snippets.

@cametan001
Created July 17, 2015 05:57
Show Gist options
  • Save cametan001/4def3586d61bdedf2c58 to your computer and use it in GitHub Desktop.
Save cametan001/4def3586d61bdedf2c58 to your computer and use it in GitHub Desktop.
> (define s (Combination (stream1 SEED SEED SEED)
(stream2 SEED SEED SEED)))
> s
#<stream>
> (stream->list 10 s)
'(0.12701112204657714
0.3185275653967945
0.3091860155832701
0.8258468629271136
0.2216299157820229
0.5333953879182788
0.4807742033156181
0.3555598794381262
0.13598841039594017
0.7558522371615436)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment