Skip to content

Instantly share code, notes, and snippets.

Created July 7, 2012 02:53
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 anonymous/3064055 to your computer and use it in GitHub Desktop.
Save anonymous/3064055 to your computer and use it in GitHub Desktop.
user=> (defmacro z [& forms] &env)
#'user/z
user=> (z)
nil
user=> (defn -main [& args] (z))
CompilerException java.lang.RuntimeException: Can't embed object in code, maybe print-dup not defined: clojure.lang.Compiler$LocalBinding@28a2f6b, compiling:(NO_SOURCE_PATH:1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment