Skip to content

Instantly share code, notes, and snippets.

@oranenj oranenj/scratch.clj
Created Aug 12, 2009

What would you like to do?
(defmacro expand [gen source]
(let [g (eval gen)
s (eval source)]
`(recur ~@(map g s))))
(macroexpand '(expand identity [1 2 3]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.