Re: IllegalStateException in ns macro

2012-05-07 Thread dgrnbrg
The :refer-clojure clause has fixed my problem; however, I have 22+ symbols that I need to exclude in every namespace. Is there a way that I can ease this exclusion, as this code is a library that I'll be including in numerous files (and I'd like to have a form to simplify using it). I am not sure

Re: IllegalStateException in ns macro

2012-05-07 Thread Meikel Brandmeyer (kotarak)
Hi again, Am Montag, 7. Mai 2012 16:26:48 UTC+2 schrieb Meikel Brandmeyer (kotarak): > > > (ns piplin.test.math > (:refer-clojure :exclude [not=]) > (:use ...) > (:import ...)) > > You should do the same in piplin.math, btw. Kind regards Meikel -- You received this message because you a

Re: IllegalStateException in ns macro

2012-05-07 Thread Meikel Brandmeyer (kotarak)
Hi, Am Montag, 7. Mai 2012 16:15:44 UTC+2 schrieb dgrnbrg: > > I haven't been able to figure out how to consistently repro it--it > happens when I evaluate it with VimClojure, and sometimes from the > lein repl, but I don't have a clear repro case :(. Here's the > repository that the code live

Re: IllegalStateException in ns macro

2012-05-07 Thread Moritz Ulrich
Your ns-statement doesn't exclude clojure.core. When :refer-clojure isn't present, it refers clojure.core by default, even when you require it prefixed. Take a look at the documentation: http://richhickey.github.com/clojure/clojure.core-api.html#clojure.core/ns On Mon, May 7, 2012 at 4:15 PM, Davi