On Wed, May 9, 2012 at 11:16 AM, Eli Barzilay <[email protected]> wrote:

> A few minutes ago, Laurent wrote:
> >
> > So maybe a compromise would be to use parameters for most (anaphoric)
> cases,
> > but still allow to specify a lexically scoped ("hygienic") binding for
> > particular cases, e.g.:
> > (while #:abort top-while-abort #:it top-while-it
> >   (while
> >     ....use the usual `abort' for the inner loop or the
> `top-while-abort' to
> > escape the top while....)
> >   ....)
> >
> > ?
>
> That makes it redundant, since if you have just the syntax parameters,
> you can replace this (for example):
>
>  (while #:abort my-abort (condition)
>    (code))
>
> with
>
>  (while (condition)
>    (define my-abort abort)
>    (code))
>
>
Oh that's right, thank you (they're parameters, not just anaphores...).

Laurent
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to