the metadata for the second function definition
doesn't contain the documentation string. I was
wondering if this is valid behaviour or a bug?


user> (defn foobar "foobar" [] ())
user> (:doc (meta #'foobar))
"foobar"


user> (defn foobar [] "foobar" ())
user> (:doc (meta #'foobar))
nil


Regards,
Axel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to