On Fri, Jan 21, 2011 at 12:38 PM, Ken Wesson <kwess...@gmail.com> wrote: > Another thing that could be useful: if the entire s-expression (def > ...) or (defn ...) has metadata, merge it in, and if there's more than > one > meta, merge rather than replace.
That's how Clojure 1.3 already works... user=> (defn ^:private ^:stuff ^{:doc "Docs"} ^{:more "info"} foo [] "") #'user/foo user=> (meta #'user/foo) {:arglists ([]), :ns #<Namespace user>, :name foo, :private true, :more "info", :doc "Docs", :stuff true, :line 7, :file "NO_SOURCE_PATH"} -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood -- 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