Skip to content

Instantly share code, notes, and snippets.

@aboekhoff
Created January 12, 2010 12:25
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 aboekhoff/275149 to your computer and use it in GitHub Desktop.
Save aboekhoff/275149 to your computer and use it in GitHub Desktop.
(defmacro defn-src
[& body]
`(alter-meta!
(defn ~@body)
assoc :defn-src (quote ~(cons 'defn body))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment