Good, thanks

On Friday, December 20, 2013 8:08:39 PM UTC-5, guns wrote:
>
> On Fri 20 Dec 2013 at 05:04:13PM -0800, Dave Tenny wrote: 
>
> > Is there any alternative I'm missing short of writing my own macro to 
> > allow non-string forms for docstrings? 
>
> Use the ^ reader macro to set the :doc entry: 
>
> (def my-docstring "foo bar") 
>
> (defn ^{:doc my-docstring} foo []) 
>
>     guns 
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to