Skip to content

Instantly share code, notes, and snippets.

@gstamp
Created November 18, 2010 03:04
Show Gist options
  • Save gstamp/704567 to your computer and use it in GitHub Desktop.
Save gstamp/704567 to your computer and use it in GitHub Desktop.
Macro problem
(defmacro foo []
`(defn bar [p#] (println "hi" ~@(list 1 2 p#))))
;; Results in: Unable to resolve symbol: p# in this context
;; How do I reference p#?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment