[<<][meta][>>][..]
Sun Mar 17 11:44:53 EDT 2013

ai-stream.rkt

Updated reference implementation to include state setup routines and
state init.

It might actually be better to implement ai-stream.rkt such that it
returns sequences instead of lists.  This could be done by wrapping a
lazy list (stream[1]) in a sequence.

Actually, racket/stream is just an interface on top of sequences[2].
To have real lazy lists, use lazy racket.

Hmm, it does seem to be solved now, at least, `stream-cons' is lazy.

EDIT: Changed implementation to sequences/streams.

[1] http://docs.racket-lang.org/reference/streams.html
[2] https://groups.google.com/forum/#!topic/racket-users/iFiBiU-YNhI



[Reply][About]
[<<][meta][>>][..]