Kjetil S. Matheussen wrote:
Okay, I figured it might have been easy since it knows that foobar is a
macro.
Yes, but the relationship to foo is harder to discern. Besides, it's a
more general problem:
(define (foo) (foobar))
(define-syntax foobar ...)
> In any case, define-macro is *strongly* deprecated. Don't use it.
> I should probably have it cause a warning ...
Is defmacro okay?
No. defmacro and define-macro are basically the same. They're kludges.
You can use them if you want, but don't don't complain if something
doesn't work.