The rationale behind mutable namespaces?

2012-03-29 Thread Alf Kristian Støyle
Hi guys. First off, love Clojure and it has been a hobby of mine for several years. When first learning Clojure, one thing I didn't like, was the ability to actually change a Var at any point in time. Either through several def/defn's pointing to the same namespace/symbol or by something like

Re: The rationale behind mutable namespaces?

2012-03-29 Thread Herwig Hochleitner
2012/3/29 Alf Kristian Støyle alf.krist...@gmail.com: So, long story short, why are namespaces in Clojure mutable? What is the rationale behind this? It's for REPL development. Everytime you redefine a function, its Var needs to be updated. OTOH, redefining a var during the normal course of

Re: The rationale behind mutable namespaces?

2012-03-29 Thread Alf Kristian Støyle
Thanks Herwig, makes sense. Cheers, Alf On Mar 29, 2012 1:37 PM, Herwig Hochleitner hhochleit...@gmail.com wrote: 2012/3/29 Alf Kristian Støyle alf.krist...@gmail.com: So, long story short, why are namespaces in Clojure mutable? What is the rationale behind this? It's for REPL