Re: User.clj and set!

2011-07-24 Thread Andreas Liljeqvist
This should really be in some earthshaking announcement somewhere... https://github.com/technomancy/leiningen/commit/2ff64b77367601a216afa9e6964d1d330e3dbdb1 Load ~/.lein/user.clj inside project if present. Fixes #215 . Now I can finally do (s

Re: User.clj and set!

2011-06-22 Thread Paul Stadig
On Jun 19, 5:11 pm, Andreas Liljeqvist wrote: > Thanks for the answer. > Would there be any problems associated with changing the root bindings? > It means that every thread in the whole JVM would get that value, but that's probably what you want. It also means that if someone else changed the ro

Re: User.clj and set!

2011-06-19 Thread Andreas Liljeqvist
Thanks for the answer. Would there be any problems associated with changing the root bindings? 2011/6/19 David Powell > > On Sun, Jun 19, 2011 at 11:58 AM, Andreas Liljeqvist wrote: > >> I am trying to set! *printlength* to something not insanity inducing. >> Problem is that user.clj doesn't su

Re: User.clj and set!

2011-06-19 Thread David Powell
On Sun, Jun 19, 2011 at 11:58 AM, Andreas Liljeqvist wrote: > I am trying to set! *printlength* to something not insanity inducing. > Problem is that user.clj doesn't support set! > Vars normally only have a global root binding. When you use (binding [varname newvalue]) the var gets given a threa