user> (defn foobar "foobar" [] ())
user> (:doc (meta #'foobar))
"foobar"
user> (defn foobar [] "foobar" ())
user> (:doc (meta #'foobar))
nil
Regards,
Axel
The second function definition doesn't have a documentation string, it
has a string form in its body. Valid behavior, but potentially
confusing.
Stuart