Hi,
I'm looking for a clean, idiomatic way to do a "backwards reduce" in Clojure.
I've got
(def fns '(fn1 fn2 fn3))
(def val 42)
I'd like to obtain (fn3 (fn2 (fn1 val))), and I'm not picky about the order. So I'd like to consecutively apply a sequence of functions to a value, rather than consecutively a sequence of values to a function.
Suggestions? Thanks!