Skip to content

Instantly share code, notes, and snippets.

Created April 24, 2011 21:07
Show Gist options
  • Save anonymous/939879 to your computer and use it in GitHub Desktop.
Save anonymous/939879 to your computer and use it in GitHub Desktop.
;; jneira's solution to http://4clojure.com/problem/58
(fn compon
([f] f)
([f1 & fs]
(fn [& xs]
(let [res (apply
(apply compon fs) xs)]
(f1 res)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment