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
pgpGliEWfoje7.pgp
Description: PGP signature
