Skip to content

Instantly share code, notes, and snippets.

@yenda
Created August 19, 2016 22:16
Show Gist options
  • Save yenda/c6e63a2eeab66b1221c965e0d60daa1a to your computer and use it in GitHub Desktop.
Save yenda/c6e63a2eeab66b1221c965e0d60daa1a to your computer and use it in GitHub Desktop.
readme-macro
(defmacro readme
[& names]
`(do ~@(map #(list 'def (vary-meta (first %) assoc :declared true) (second %)) (partition 2 names))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment