Skip to content

Instantly share code, notes, and snippets.

@infinite-Joy
Created June 22, 2017 16:32
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 infinite-Joy/f598251f40a02b755450e1ee85ab7016 to your computer and use it in GitHub Desktop.
Save infinite-Joy/f598251f40a02b755450e1ee85ab7016 to your computer and use it in GitHub Desktop.
user=> (def ^:dynamic x 1)
#'user/x
user=> (def ^:dynamic y 1)
#'user/y
user=> (binding [x 2 y 3] (+ x y))
5
user=> (+ x y)
2
user=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment