You should use SRFI-41, as SRFI-40 is deprecated.<br><br><div class="gmail_quote">On Sat, Mar 5, 2011 at 6:31 PM, Mark Engelberg <span dir="ltr"><<a href="mailto:mark.engelberg@gmail.com">mark.engelberg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I've had some email discussions about this with the Racket team in the<br>
past, so here's a quick unofficial summary of what I've learned, while<br>
you're waiting for a more official response:<br>
<br>
racket/stream is not really a "stream library" by the typical Scheme<br>
definition of stream. It's really a library to manipulate Racket's<br>
sequence abstraction with list-like functions. The naming is<br>
misleading. The whole library is experimental and is likely to change<br>
and you shouldn't really be using it anyway.<br>
<br>
Racket does not have a built-in stream library that integrates nicely<br>
with its sequence abstraction and uses the same naming scheme as its<br>
built-in list functions. The srfis 40 and 41 will serve your most<br>
basic stream needs though (I think I've had better luck with srfi41).<br>
<br>
I get the impression that adding a complete, tightly-integrated stream<br>
library to Racket is of interest to the developers, but not a high<br>
priority because:<br>
a) There are tons of things competing for their development time, and<br>
something like a stream library is exactly the kind of thing that<br>
could be easily written by a motivated user.<br>
b) They believe that Lazy Racket can be used in many situations where<br>
you'd want to use streams.<br>
<div><div></div><div class="h5">_________________________________________________<br>
For list-related administrative tasks:<br>
<a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a><br>
</div></div></blockquote></div><br>