Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created March 13, 2014 09:59
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 1ambda/9525453 to your computer and use it in GitHub Desktop.
Save 1ambda/9525453 to your computer and use it in GitHub Desktop.
lisp-macro-1
(defmacro five-macro (arg)
`(+ 5 ,arg))
(macroexpand-1 '(five-macro 2)
> (+ 5 2)
(five-macro 2)
> 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment