Re: [racket-dev] stream confusion

2012-08-22 Thread Asumu Takikawa
On 2012-08-22 16:49:11 -0400, Stephen Chang wrote: >For example, are lists streams? I think the answer is yes but then are >the stream- functions supposed to work on regular lists? Some do but >some don't. This should be fixed now in git HEAD. Cheers, Asumu _ Racket Deve

Re: [racket-dev] stream confusion

2012-08-22 Thread Asumu Takikawa
On 2012-08-22 14:04:36 -0700, Martin Neal wrote: >*Maybe a problem with generics? Thanks, that was a good insight. I'm pretty sure this is a problem with the addition of generics. The `stream-map` function uses the wrong bindings (the ones generated by the generics system) rather than the comp

Re: [racket-dev] stream confusion

2012-08-22 Thread Martin Neal
What timing, I was in the middle of writing the same question to the list when I got this. I can only add that the problem is also present in 5.3.0.20, and that, if I take (for instance, the stream-map) definition in racket/stream and execute it again, stream-map begins working as expected again.

[racket-dev] stream confusion

2012-08-22 Thread Stephen Chang
I've been playing with Racket streams and I am confused about what exactly counts as a stream? For example, are lists streams? I think the answer is yes but then are the stream- functions supposed to work on regular lists? Some do but some don't. Welcome to DrRacket, version 5.3.0.16 [3m]. Languag