Docstrings for individual defmethods are not possible. You can find more info about it there: http://groups.google.com/group/clojure/msg/f7751913e875953f
Lauri On Sat, Dec 20, 2008 at 3:05 AM, Jason <jawo...@berkeley.edu> wrote: > > Am I mistaken, or is there currently no nice syntax for giving doc > strings to methods? Sure, I can do > > (defmulti #^{:doc "documentation"} my-method my-dispatch-fn) > > but for consistency with defn and defmacro it would be nice to have a > direct way to document multimethods. Even better would be a way to > provide doc strings for each method implementation as well, but that > seems trickier to fit in the current framework. > > -Jason > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---