[racket-dev] Why is there no `stream' macro which functions analogously to the `list' macro?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Dec 8 15:42:58 EST 2011

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.



Posted on the dev mailing list.