Hi,

Am 30.01.2009 um 22:49 schrieb bOR_:

(def myvar
; cant do a nice " "description here, even though hash-maps can stand
in for functions.
(hash-map :a 1 :b 3))

Currently only (def #^{:doc "A Foo"} foo ...) is possible.

Alternatively clojure.contrib.def/defvar:

(defvar foo
  (hash-map :a :b)
  "A Foo")

I'm missing this also in core...

Note that for namespaces und defmulti docstrings are
now available. :)

Sincerely
Meikel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to