I'm passing my macro to a map operation (which is also a macro). I'm having some trouble getting my values out. Here is an example:
(def num-vec [1 2 3 4 5])
(defmacro describe-args [first-arg & remaining-args]
`(println '~first-arg '~remaining-args))
(doall (map #(describe-args "my args " %) num-vec))
This returns:
my args (p1__432#)
my args (p1__432#)
my args (p1__432#)
my args (p1__432#)
my args (p1__432#)
My question is: How do I get the argument in a macro from a map macro in Clojure?
(I believe this is a different question to the other map/macro questions already asked as this is about argument retrieval).