Wednesday, 18 September 2013

In Common-Lisp, is it possible to expand a macro into several elements?

In Common-Lisp, is it possible to expand a macro into several elements?

I want a macro my-macro which can expand to 1 2 3 rather than (1 2 3), so
that
(list (my-macro) 4 5) -> (1 2 3 4 5)
Is this possible?

No comments:

Post a Comment