Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Created May 7, 2017 09:28
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 deque-blog/301960f4206590bfeb52ff4b5c006d02 to your computer and use it in GitHub Desktop.
Save deque-blog/301960f4206590bfeb52ff4b5c006d02 to your computer and use it in GitHub Desktop.
`(+ 1 2) ;; Escaping an AST fragment
=> (clojure.core/+ 1 2) ;; Returns the created fragment
(eval `(+ 1 2)) ;; If we call `eval` on it
=> 3 ;; We get back the value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment