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?
>
>
Thanks that works for symbols. I know derecord does not create a Var, but
it would still be nice to be able to have a doc s
On Sun, Jul 22, 2012 at 5:34 PM, Warren Lynn 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)
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.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group,