Hi!

Andy Wingo <[email protected]> writes:

> On Fri 11 Mar 2011 14:55, [email protected] (Ludovic Courtès) writes:
>
>>               (define-syntax name
>>                 (lambda (x)
>>                   (syntax-case x ()
>> -                   ((_ formals ...)
>> -                    #'(begin body ...))
>> +                   ((_ args ...)
>> +                    #'(letify (formals ...) (args ...)
>> +                              (begin body ...)))
>
> Alternately:
>
>   ((_ args ...)
>    #'((lambda (formals ...)
>         body ...)
>       args ...))
>
> Guile will turn that into a let.

Nice!

I pushed this and Andreas’ test case, thank you!

Ludo’.

Reply via email to