Closed jpellegrini closed 10 months ago
So this now works:
stklos> (let-syntax ((f (syntax-rules () ((f) 10)))) (f))
10
One remark: perhaps we could also have, in the future, let-syntax
for unhygienic macros? Something like
(let-syntax ((f (lambda (a b)
...)))
(f 2 3))
Which would be similar to an internal define-macro
... (For the future...)
Thanks for the fix @jpellegrini.
Hi @egallesio
This is about issue #604 --
The current
let-syntax
implementation doesn't work because it calls%find-macro-clause
with 4 parameters, and a 5th was added.This patch changes
let-syntax
so it takes into account custom ellipsis symbols.