The repl's thread binding for those vars is set here: https://github.com/clojure/clojure/blob/master/src/clj/clojure/main.clj#L267
using this macro: https://github.com/clojure/clojure/blob/master/src/clj/clojure/main.clj#L85 Users of your library would need to do something similar, possibly wrapping a call to clojure.main/repl within a clojure.core/with-bindings form, to allow the same set! ability for your vars. --Steve On Mar 13, 2013, at 5:47 PM, Mark Engelberg <mark.engelb...@gmail.com> wrote: > On Wed, Mar 13, 2013 at 2:36 PM, Michael Klishin > <michael.s.klis...@gmail.com> wrote: > alter-var-root works fine for that purpose, e.g. > https://github.com/michaelklishin/monger/blob/master/src/clojure/monger/core.clj#L168-171 > > Thanks. That's probably what I'll end up doing. Still, it would be nice to > understand whether it's possible to achieve the same effect as Clojure core's > settable vars. -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.