You are altering the root binding, rather than the current (possibly
dynamic) binding of the variable. The two may be distinct, since the
current bindings may be thread local, such as by `clojure.core/binding`
(see https://clojure.org/reference/vars).

Note that you can `alter-var-root` of non-dynamic vars too, though you
should be careful with that (and usually avoid it altogether).

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/CAMUqWD8DNUquqeL%2B9kA80JAGi%3DEs30xkZBjxHFVYozU%3DH%2B2q3w%40mail.gmail.com.

Reply via email to