> 1. You could optionally put a docstring after the value of a normal > def -- (def foo 17 "seventeen"). >
def has supported an optional doc string since 1.2. I have just updated the wiki and docstring to reflect this. > (defn foo > "Docstring -- works currently" > [x y] > (+ (* x x) y)) AFAIK this has always worked. If you see this not working, please post details to reproduce. Cheers, Stu Stuart Halloway Clojure/core http://clojure.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. 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
