Skip to content

Instantly share code, notes, and snippets.

@luxbock
Created February 6, 2015 18:56
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 luxbock/6dcfeb2cdccc82b75e0b to your computer and use it in GitHub Desktop.
Save luxbock/6dcfeb2cdccc82b75e0b to your computer and use it in GitHub Desktop.
durr
(defmacro boo [x y]
`(defmacro ~x [y#]
`(let [foo# ~~y]
foo#)))
(boo bobo :bob) ;; => #'user/bobo
(bobo :bubba)
;; CompilerException java.lang.RuntimeException: Can't let qualified name: user/foo__24625__auto__, compiling:(/private/var/folders/j2/zvt92c1s39d_0kdmhrhbgtkm0000gn/T/form-init6490185910005182061.clj:1:1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment