For anyone else stumbling across this thread, I found a lot more 
information about dynamic binding with respect to asynchronous code in the 
Clojure Confluence wiki:

http://dev.clojure.org/display/design/State%2C+Concurrency%2C+and+Parallelism

In particular, the "Asynchronous Events", "Blocking vs Nonblocking Reads", 
and "Improve Bindings" sub-pages discuss my misconception regarding the 
behavior bindings within callbacks, or otherwise lazy code.

The topics haven't been updated in a while, but I suspect that these issues 
are going to become higher priority as ClojureScript gains adoption. The 
async and non-blocking nature of JavaScript introduces some serious 
complexities which aren't as relevant on the JVM.

-- 
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

Reply via email to