|
From: | Stefan Israelsson Tampe |
Subject: | Re: Enhancement to the syntax system? |
Date: | Tue, 3 Jul 2012 23:52:29 +0200 |
Hey![...]
Stefan Israelsson Tampe <address@hidden> skribis:
>> Stefan Israelsson Tampe <address@hidden> skribis:
>>
>> > Maybe this help to see what I'm after,
>> >
>> > #'(let ((x v)) #.(f #'x))
>> >
>> > <=>
>> >
>> > (let-syntax ((g (lambda (stx) (syntax-case stx ((_ x) (f #'x)))))
>> > #'(let ((x v)) (g x))
Hmm, the example above does not use gensym. What am I missing?
> If you want to try another path using functions in stead of macros and
> working hard with #, and #,@
> you will for complex macros like a matcher need to gensym by hand or
> destroy the readability of the
> code. As illustrated by the simple example above.
Ludo’.
[Prev in Thread] | Current Thread | [Next in Thread] |