leppie wrote:
;; a test (define-syntax macro-using-foo (let () (display (foo)) (syntax-rules () ((_) 'dummy)))) This prints "bar", as expected. Not tested more than you.That looked like a bug to me! I didnt know there was a 'place' (lexical scope) between define-syntax and the transformer function.
The right hand side of a define-syntax is just an expression that must produce a transformer (at expansion time).
David
