Hi Gregg,
When you look at the function given as the first argument to 'recurse', (fn
[f g] #(f (apply g %))), how do you think about when '%' is replaced
by [1 2 3 4]? Does this happen only when 'recurse' has consumed all the
items in the collection it's been given (as the second
Hi--
The code in question is a solution to http://www.4clojure.com/problem/58
(write a function that does function composition, without using 'comp').
The solution I'm trying to understand is by amalloy:
(defn mycomp [ fs]
(reduce (fn [f g]
#(f (apply g %)))
fs))
For