Skip to content

Instantly share code, notes, and snippets.

@timmc
Forked from AlexBaranosky/gist:1696553
Created January 29, 2012 01:21
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 timmc/1696578 to your computer and use it in GitHub Desktop.
Save timmc/1696578 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