Re: Observing the same non-dynamic var in two different states

2014-05-01 Thread Antti Karanta
Thanks, defonce seems to solve the problem. As there doesn't seem to be a logical explanation for why the vartest.test-data namespace is evaluated twice I filed this as a leiningen issue: https://github.com/technomancy/leiningen/issues/1519 ::Antti:: -- You received this message becaus

Observing the same non-dynamic var in two different states

2014-04-30 Thread Antti Karanta
I thought that once defined clojure vars are immutable and retain their values. However, I accidentally bumped into a situation where I observe the same var in two different states. Here's how to reproduce: lein new app vartest Add the following files to the test folder: - (ns vartest.