At 3:18 Uhr +0100 14.11.2005, I wrote:
At 20:02 Uhr -0500 13.11.2005, Marc Feeley wrote:
I'm not sure I understand. This works fine:
(define-macro when (lambda (x y) `(if ,x ,y)))
Yes sorry, that problem was just an artifact of my redefinition of define-macro in chjmodule (I'm redefining it to create both compile-time and runtime macros). I've corrected that bug of mine since (not sure it is in my latest released chjmodule version though).
No, the problem is deeper than that:
(define-macro when (let ((a (lambda (x y) `(if ,x ,y)))) a))
*** ERROR IN (console)@2.1 -- Macro transformer must be a lambda expression
Christian.