Re: [racket] Possible bug in racket/stream

2012-09-20 Thread Thomas Chust
On Thu, 20 Sep 2012, Asumu Takikawa wrote: On 2012-09-21 00:54:10 +0200, Thomas Chust wrote: the documentation for the racket/stream module states that lists can be used as streams transparently and stream? returns #t when applied to a list. However, some of the functions operating on streams f

Re: [racket] Possible bug in racket/stream

2012-09-20 Thread Thomas Chust
On Thu, 20 Sep 2012, Danny Yoo wrote: [...] Other functions that don't work with lists are stream-length, stream-ref, stream-tail, stream-append, stream-filter? and stream-add-between. [...] Yeah, this appears to be a bug in 5.3. But it does appear to be corrected in the development version o

Re: [racket] Possible bug in racket/stream

2012-09-20 Thread Asumu Takikawa
On 2012-09-21 00:54:10 +0200, Thomas Chust wrote: > the documentation for the racket/stream module states that lists can > be used as streams transparently and stream? returns #t when applied > to a list. However, some of the functions operating on streams fail > when applied to lists. For example: