In clojure, how can I evaluate the arguments to a macro from another macro?
问题 I have two macros. The first one takes a symbol as the only parameter (because it's passed to def, which needs a symbol). The second function takes a list of symbols and should call the first with each symbol individually. (defmacro m1 [s] '(let [f# ... dynamic function definition ...] (def ~s f#)) The second macro should take a list of symbols and pass them to the first, but I can't get it to work. The best I could come up with was the following: (defmacro m2 [symbols] `(for [s# ~symbols]