Skip to content

Instantly share code, notes, and snippets.

@neotyk
Created September 7, 2010 14:51
Show Gist options
  • Save neotyk/568486 to your computer and use it in GitHub Desktop.
Save neotyk/568486 to your computer and use it in GitHub Desktop.
Generating multiple fns on a fly
(doseq [[fn-name fn-doc] [testname "sample doc" anothername "detailed documentation"]]
`(defn ~fn-name ~fn-doc [a] a))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment