2011/3/2 Meikel Brandmeyer <m...@kotka.de>: > Hi, > > On 2 Mrz., 10:44, Albert Cardona <sapri...@gmail.com> wrote: > >> I get: >> >> user=> (set! *unchecked-math* true) >> java.lang.IllegalStateException: Can't change/establish root binding >> of: *unchecked-math* with set >> >> ... with latest clojure from git master branch. > > How did you start your Repl? In case it's not Clojure's "native" Repl > the binding for *unchecked-math* might not be established by the > custom Repl. VimClojure, I'm looking at you. > > Sincerely > Meikel
Thanks Meikel. In this case it's not VimClojure but Fiji's Clojure REPL, which I created myself. Somehow I expected *unchecked-math* to be defined internally, just like *out* is. I see now that in my REPL code I set: static final Var warn_on_reflection = RT.var("clojure.core", "*warn-on-reflection*"); ... and that I should do the same for *unchecked-math*. Thanks! Albert -- http://albert.rierol.net -- 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 new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en