[racket-dev] Why is there no `stream' macro which functions analogously to the `list' macro?
On Thu, Dec 8, 2011 at 2:42 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> At Thu, 8 Dec 2011 11:58:45 -0600, Robby Findler wrote:
>> On Thu, Dec 8, 2011 at 8:40 AM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
>> > The addition of `stream' makes sense to me. What were the arguments
>> > against?
>>
>> I don't know that any were articulated yet, but what would be the
>> difference between 'stream' and 'list'?
>
> The suggested `stream' is a syntactic form whose subexpressions are
> evaluated lazily.
>
> Although there hasn't been much time for comments, I'll push the
> addition for now; we can take `stream' back out if it's a bad idea.
Seems like a good idea to me.
Robby