On Oct 2, 12:47 pm, b2m <b2monl...@googlemail.com> wrote: > Is there a simple way to 'apply' the macro to a list of arguments like > it works for functions: (apply + '(1 2 3)) ?
Nope, no can do. For an example of why, check out clojure.contrib.apply-macro -- the warnings are there for a reason. "apply" is a function, so it's evaluated at runtime. But macros are evaluated at compile-time. If you're calling it on a list of arguments, that list won't exist until runtime. -SS --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---