[racket] begin vs +

From: Laurent (laurent.orseau at gmail.com)
Date: Mon Aug 2 09:55:23 EDT 2010

On Mon, Aug 2, 2010 at 15:48, Keiko Nakata <keiko at kurims.kyoto-u.ac.jp>wrote:

> From: Laurent <laurent.orseau at gmail.com>
>
> > Maybe you could use `(let () *body ...*)' instead? It should be closer to
> > your intentions.
>
> Can you tweak my code
>

I'm not at ease with continuations too and I wouldn't want to give you wrong
answers so I let gurus answer that.
But just to avoid the special treatments of `begin', you can replace it
directly with a `let ()' form as above.
It will behave as a "sequencing" form, whether at top level or not (IIUC).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100802/62409137/attachment.html>

Posted on the users mailing list.