Skip to content

Instantly share code, notes, and snippets.

@edthix
Created August 3, 2013 19:11
Show Gist options
  • Save edthix/6147624 to your computer and use it in GitHub Desktop.
Save edthix/6147624 to your computer and use it in GitHub Desktop.
Some perspective on Clojure's quote, ' (single quote) and syntax quote ` (back quote)
(ns my-app.core)
;; Clojure 1.5
(quote hello 1 2 3 we are martians) ;; returns hello
'(hello 1 2 3 we are martians) ;; returns (hello 1 2 3 we are martians)
`(hello 1 2 3 we are martians) ;; (my-app.core/hello 1 2 3 my-app.core/we my-app.core/are my-app.core/martians)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment