Skip to content

Instantly share code, notes, and snippets.

@stibear
Last active August 29, 2015 13:57
Show Gist options
  • Save stibear/9897104 to your computer and use it in GitHub Desktop.
Save stibear/9897104 to your computer and use it in GitHub Desktop.
;; current version
> (include "../piclib/srfi/41.scm")
=> #f
> (import (srfi 41))
=> #f
> (define strm123
* (stream-cons 1 (stream-cons 2 (stream-cons 3 stream-null))))
=> #f
> strm123
=> #(#0=(record-marker) #2=#(#0# #1=#(#0# #1# record-type% (name field-tags)) str
eam-type (box)) (eager . #(#0# #(#0# #1# stream-pair-type (x y)) #(#0# #2# (lazy@
1874 . #<proc 0x8935d0>)) #(#0# #2# (lazy@1875 . #<proc 0x896780>)))))
;; a little old version (before fixing the issue #36)
> (include "../piclib/srfi/41.scm")
=> #f
> (import (srfi 41))
=> #f
> (define strm123
* (stream-cons 1 (stream-cons 2 (stream-cons 3 stream-null))))
=> #f
> strm123
=> #(#0=(record-marker) #2=#(#0# #1=#(#0# #1# record-type% (name field-tags)) str
eam-type (box)) (eager . #(#0# #(#0# #1# stream-pair-type (x y)) #(#0# #2# (lazy
. #<proc 0x853440>)) #(#0# #2# (lazy . #<proc 0x853040>)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment