Re: where is defvar?

2011-11-14 Thread Alan Malloy
(def name doc init) On Nov 14, 4:03 pm, Brad wrote: > I'm working on moving to Clojure 1.3 > > Some code is using defvar which use to be in clojure.contrib.def > > http://dev.clojure.org/display/design/Where+Did+Clojure.Contrib+Go > mentions that contrib.def partially migrated to clojure.core.inc

Re: where is defvar?

2011-11-14 Thread Brad
Thanks. I couldn't find this mentioned anywhere so I added a comment on clojuredocs http://clojuredocs.org/clojure_contrib/clojure.contrib.def/defvar On Nov 14, 7:26 pm, Alan Malloy wrote: > (def name doc init) > > On Nov 14, 4:03 pm, Brad wrote: > > > > > > > > > I'm working on moving to Clo

Re: where is defvar?

2011-11-14 Thread Sean Corfield
I've updated Where Did Clojure Contrib Go to indicate this. Happy to take other suggestions for updates! On Mon, Nov 14, 2011 at 6:36 PM, Brad wrote: > Thanks. I couldn't find this mentioned anywhere so I added a comment > on clojuredocs > > http://clojuredocs.org/clojure_contrib/clojure.contrib.

Re: where is defvar?

2011-11-14 Thread Phil Hagelberg
On Mon, Nov 14, 2011 at 4:26 PM, Alan Malloy wrote: > (def name doc init) Actually defvar is more like defonce. -Phil -- 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

Re: where is defvar?

2011-11-14 Thread Alan Malloy
On Nov 14, 7:44 pm, Phil Hagelberg wrote: > On Mon, Nov 14, 2011 at 4:26 PM, Alan Malloy 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/

Re: where is defvar?

2011-11-14 Thread Phil Hagelberg
Oh, I was thinking of defvar from Common Lisp. I didn't realize contrib's version was different; curious. -Phil On Nov 14, 2011 8:37 PM, "Alan Malloy" wrote: > On Nov 14, 7:44 pm, Phil Hagelberg wrote: > > On Mon, Nov 14, 2011 at 4:26 PM, Alan Malloy wrote: > > > (def name doc init) > > > > Ac