Skip to content

Instantly share code, notes, and snippets.

@luxbock
Created February 6, 2015 09:22
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 luxbock/7226ce0d65d5846ecbbf to your computer and use it in GitHub Desktop.
Save luxbock/7226ce0d65d5846ecbbf to your computer and use it in GitHub Desktop.
blah
(defmacro blah->> [x & rs]
`(reductions (fn [v# f#]
(eval
(if (seq? f#)
`(~(first f#) ~v# ~@(next f#))
`(~f# ~v#))))
~x ~(list `quote rs)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment