I am a bit puzzled by how metadata seems to behave differently depeding on where it's used and whether #^ is included or not:
(defn #^{:doc "doc"} my-fn ([x] x)) ;;Works (defn {:doc "doc"} my-fn ([x] x)) ;;Error: Second argument to def must be a Symbol (defn my-fn [x] x #^{:doc "doc"}) ;;Error: Unmatched delimiter: ) (defn my-fn ([x] x) {:doc "doc"}) ; ;;Works Can anyone help me understand this please? Cheers, Paul. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---