[plt-scheme] Re: On hygiene and trust

From: leppie (xacc.ide at gmail.com)
Date: Wed Jul 8 15:48:08 EDT 2009

On Jul 8, 5:04 pm, Joe Marshall <jmarsh... at alum.mit.edu> wrote:
> > On Jul 7, 2009, at 8:52 PM, Joe Marshall wrote:
>
> >> Syntax-case is uniformly painful for simple and complex uses.
> On Wed, Jul 8, 2009 at 7:31 AM, Abdulaziz Ghuloum<aghul... at gmail.com> wrote:
> > I don't agree.  Show me a painful simple use.  Pick any simple
> > macro you want: let, let*, or, and, cond, case, or any other
> > macro of your choice to show the pain.
>
> This came up the other day.  Transform something like this:
>
> (define-event foo bar (arg1 arg2 ...)
>    (form1)
>    (form2 ...) etc.)
>
> into something like this:
>
> (define (foo$bar arg1 arg2 ...)
>    (form1)
>    (form2 ...) etc.)
>

How will the implementation be any different between defmacro and
syntax-case in your example?


Posted on the users mailing list.