Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@cemerick
Created January 3, 2012 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cemerick/ac8ef5515291e77a7a34 to your computer and use it in GitHub Desktop.
Save cemerick/ac8ef5515291e77a7a34 to your computer and use it in GitHub Desktop.
=> (def ^:dynamic a nil)
#'user/a
=> (binding [a 5] @(future a))
5
=> (binding [a 5]
(.start (Thread. #(println a))))
nil
nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment