Hi.

Am 04.10.2009 um 14:29 schrieb Sean Devlin:

Very good point Meikel.  The only reason I wrote the code that way is
I was asking myself "What if I had Rich's Job?  How would I write
reduce?"  I should have been more explicit.

(defn reduce
 ([f coll] (reduce f (first coll) (rest coll)))
 ([f init coll] (reduce stuff...)))

Oh. Oops. I didn't see that the function was actually reduce. I thought you are just using reduce in the function. My mistake.

Sincerely
Meikel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to