;; 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. I wonder what phase that is in? It seems it will happen BEFORE the transformer is created. I am not sure I will ever use that though :)

Cheers

leppie

Reply via email to