FWIW, autodoc looks for something like {:deprecated "1.3"}. See https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj#L201 which results in http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/agent-errors.
On Jan 6, 8:19 pm, Phil Hagelberg <p...@hagelb.org> wrote: > Dave Sann <daves...@gmail.com> writes: > > I sometimes have need to change the names of fns in some of my libs. > > > As I was doing this, I wondered - is there a way to mark a function or > > namespace or other as deprecated? > > > I have not seen anything to this effect. > > Here's what I use in Leiningen: > > https://github.com/technomancy/leiningen/blob/1.x/src/leiningen/core.... > > For things that are just deprecated but not moved, probably just > ^:deprecated or ^{:deprecated "1.3.1"} is probably best. > > -Phil -- 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