> Given the single-threaded nature of JavaScript I don't see how future-call or agents could be implemented.
There are analogous constructs in a single-threaded, async-callback world. In particular, many Javascript libraries have a concept of promises and futures for managing the async callback speghetti. Like I said, that part of the puzzle needs much more thought. This is step one: Implement robust dynamic binding. > Dynamic binding is often used for configuration. Configuration that you probably want preserved across an async callback.... Imagine binding *parse-response-in-some-special-way* before calling ajax-get... > It's also important to note that what you're proposing could easily be provided as a useful library Maybe... but it would need to override some of the Compiler's multi-methods... Proper Var support, on par with JVM Clojure, seems like it belongs as part of the core ClojureScript distribution. -- 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