Comment made by: email@example.com
The suggested patch gets the "init" value for the reductions by calling the function with no args. I would like a "reductions" transducer that took an explicit "init" rather than relying on a nullary (f).
If I remember correctly, Rich has expressed some regrets about supporting reduce without an init (ala Common Lisp). My understanding is that an explicit init is preferred for new Clojure code.
Unfortunately, an explicit init arg for the transducer would conflict with the standard "no-init" reductions (link: f coll). In my own code, I've used the name "accumulations" for this transducer. Another possible name might be "reductions-with".