On Dec 3, 2008, at 11:35 PM, Mon Key wrote:

> I apologize if this has been brought up before... But, where does  
> the doc string on the `my-test' defn below reside.

It becomes metadata for the var that your defn form defines. You can  
see all the metadata with (meta (var my-test)).

> If not, should I be able to defn with the doc string out of place  
> without first passing a keyword?

I don't understand the question about the keyword.

This is a valid function:

(defn hi [] "hello")

It's not a doc string out of place, it's a function that always  
returns the same string.

--Steve


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to