On Sun, Jul 22, 2012 at 5:34 PM, Warren Lynn <wrn.l...@gmail.com> wrote:
> In Elisp, with "defvar" I can specify a docstring for a variable. I could
> not find how to do that in Clojure with "def" and "defrecord". Can someone
> show me the way? Thank you.

http://clojure.org/special_forms

(def sym "docstring" 'value)

I don't think defrecord creates a Var so I don't think you can specify
a docstring for that?
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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

Reply via email to