Skip to content

Instantly share code, notes, and snippets.

@dpick
Created March 4, 2012 21:00
Show Gist options
  • Save dpick/1974764 to your computer and use it in GitHub Desktop.
Save dpick/1974764 to your computer and use it in GitHub Desktop.
(fn compose [& funcs]
(fn [args]
(reduce (fn [x y] (x (y args))) funcs)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment