Skip to content

Instantly share code, notes, and snippets.

@pepijndevos
Created September 28, 2010 14:42
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 pepijndevos/601109 to your computer and use it in GitHub Desktop.
Save pepijndevos/601109 to your computer and use it in GitHub Desktop.
(def c [1 2 3])
(defmacro a [b] (println (class b) b) `(list ~@b))
(println (a c))
@cemerick
Copy link

1:17 user=> (defmacro a [args] `(+ ~@Args))

'user/a

1:18 user=> (a [1 2 3])
6
1:19 user=>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment