You can use eval to retrieve the value of a-map when the macro is
expanded.

(let [value (eval a-map)]
  `(binding ~(vec (process-a-map value)) ~...@forms))

I've programmed some substantial programs now in Clojure though, and
I've never had to use this. Perhaps there is another way to achieve
what you want?

As a rule of thumb that I use, using a macro should only look like a
syntax extension. There shouldn't be any dependance on the values of
any of the arguments.

Hope this helps
  -Patrick
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to