[racket-dev] racket/stream
Matthew wrote "Streams include lists and lazy lists as produced by `stream-cons'
(i.e., the usual one instead of the one currently exported by
`racket/stream')."
so I think the answer is 1.
Robby
On Thu, Mar 17, 2011 at 2:42 PM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
>
> On Mar 17, 2011, at 3:38 PM, Matthew Flatt wrote:
>
>> At Thu, 17 Mar 2011 15:34:17 -0400, Matthias Felleisen wrote:
>>> 1. I think we should stay away from 'stream' here.
>>> If Racket had grown out of the Unix tradition, I'd
>>> be fine with it. But we partially grew out the
>>> functional community, and they use 'stream' for
>>> a narrower concept.
>>
>> Unless I'm confused, the proposal is to use "stream" in the
>> functional-programming sense, not in the Unix sense.
>
>
> Perhaps the misunderstanding is on my side but that's easy to resolve.
>
> What does
>
> (stream-first (stream-cons 1 (infinite-loop)))
>
> produce?
>
> -- Matthias
>
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/dev
>