Skip to content

Instantly share code, notes, and snippets.

@tce
Created February 2, 2012 16:35
Show Gist options
  • Save tce/1724437 to your computer and use it in GitHub Desktop.
Save tce/1724437 to your computer and use it in GitHub Desktop.
Simple macro example
;; allows you to say (hello jenny) instead of (hello "jenny")
(defmacro hello [s] `(println "Hello" ~(name s)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment