Hi! If I evaluate
(def ^:macro my-defn1 #'defn) a macro named 'my-defn1' is defined, which I can use like 'defn'. However, if I use instead (if true (def ^:macro my-defn2 #'defn)) the var for 'my-defn2' doesn't have the :macro metadata set and I can't use it as a macro, even though the 'def' form is equal to the previous case. Here is a paste: http://cljbin.com/paste/52322ba5e4b0fa645e7f9243 What makes the behaviour different? Thanks! -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.