On Nov 14, 7:44 pm, Phil Hagelberg <p...@hagelb.org> wrote: > On Mon, Nov 14, 2011 at 4:26 PM, Alan Malloy <a...@malloys.org> wrote: > > (def name doc init) > > Actually defvar is more like defonce.
Huh? I don't see any defonce semantics at https://github.com/clojure/clojure-contrib/blob/master/modules/def/src/main/clojure/clojure/contrib/def.clj#L23 (defmacro defvar "Defines a var with an optional intializer and doc string" ;; ...extra arities elided... ([name init doc] (list `def (with-meta name (assoc (meta name) :doc doc)) init))) -- 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