SHARE
TWEET

Untitled

a guest Dec 15th, 2011 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. lcc-clojure.actors> (def ^:dynamic foo)
  2. #'lcc-clojure.actors/foo
  3. lcc-clojure.actors> (with-redefs [foo "bar"] (.start (Thread. #(println foo))))
  4. #<Unbound Unbound: #'lcc-clojure.actors/foo>
  5. nil
  6. lcc-clojure.actors> (binding [foo "bar"] (.start (Thread. #(println foo))))
  7. #<Unbound Unbound: #'lcc-clojure.actors/foo>
  8. nil
  9. lcc-clojure.actors>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top