On Sat, Nov 14, 2009 at 11:59 PM, Meikel Brandmeyer <m...@kotka.de> wrote:
> And there is always macroexpand(-1)... > > user=> (macroexpand-1 '(-> foo (bar baz))) > (bar foo baz) I'm glad you've pointed it out as I've recently been asking myself how to expand a macro entirely (including subforms)? I'd prefer knowing what the final expansion would be for swap. user=> (macroexpand '(-> v (assoc i (v j)) (assoc j (v i)))) (assoc (clojure.core/-> v (assoc i (v j))) j (v i)) How to expand the macro in the subform above? Jacek -- Jacek Laskowski Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl -- 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