[racket] future

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Mon Aug 29 15:57:05 EDT 2011

as-output-to-file? ;)

(I also agree that as-delay and delay being synonyms is not so great.)

Robby

On Mon, Aug 29, 2011 at 2:51 PM, Eli Barzilay <eli at barzilay.org> wrote:
> 20 minutes ago, Shriram Krishnamurthi wrote:
>> I like it.
>>
>> I'm afraid I just don't understand Eli's response to this...
>
> It's unrelated to the name: you see `as-thread' and `thread',
> `as-future' and `future', and you learn the difference.  Then you see
> `as-delay' and you get surprised that `delay' is not expecting a
> thunk.
>
>
>> On Mon, Aug 29, 2011 at 3:14 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
>> > How about an `as-' prefix?
>> >
>> >  (as-thread ....)
>> >  (as-future ...)
>> >  (as-delay ...)
>
> BTW, two more points: `dynamic-wind' (probably a non-issue given that
> what's really needed is a better form).  But the other point is
> `with-output-to-file', which is probably the #1 of these forms that I
> still trip over.  (It's actually the main reason I've generally
> switched to the less confusing `call-with-' forms.)
>
> --
>          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                    http://barzilay.org/                   Maze is Life!
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users



Posted on the users mailing list.