Skip to content

Instantly share code, notes, and snippets.

@AlexBaranosky
Created January 29, 2012 01:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save AlexBaranosky/1696553 to your computer and use it in GitHub Desktop.
Save AlexBaranosky/1696553 to your computer and use it in GitHub Desktop.
(defmacro def+keep-meta [name a-var]
`(alter-meta! (def ~name ~a-var) merge (meta ~a-var)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment