Skip to content

Instantly share code, notes, and snippets.

@kindlychung
Created May 6, 2015 09:33
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 kindlychung/c874be3b9554df988ced to your computer and use it in GitHub Desktop.
Save kindlychung/c874be3b9554df988ced to your computer and use it in GitHub Desktop.
(defmacro spy-env []
(let [ks (keys &env)]
`(prn (zipmap '~ks [~@ks]))))
@kindlychung
Copy link
Author

what does ~@ do here?

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