[Small-cl-src-discuss] Re: Funcallable macros

Lars Brinkhoff lars at nocrew.org
Fri May 28 20:37:48 UTC 2004


Lars Brinkhoff <lars at nocrew.org> writes:
>     (compile nil `(lambda ,args ,(macroexpand `(,name , at args))))))

Slightly embarassed, I now recall that the compiler has a very useful
feature: it expands macros automatically.  Replace the line above with

      (compile nil `(lambda ,args (,name , at args)))))

-- 
Lars Brinkhoff,         Services for Unix, Linux, GCC, HTTP
Brinkhoff Consulting    http://www.brinkhoff.se/





More information about the Small-cl-src-discuss mailing list