For debugging a set of macros, I would like to see the form that a  
given expression is expanded into by the compiler. My first try was  
macroexpand, of course, but as its docstring says very well, it  
doesn't expand macros in subforms. Is there any function that does?  
In other words, given

(defmacro m1 [x] `(* 2 ~x))
(defmacro m2 [x] `(+ 3 ~x))

is there a function that will expand

(m1 (m2 3))

to

(clojure/* 2 (clojure/+ 3 3))

Thanks in advance,
   Konrad.

--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to