Reductions does not currently provide a transducer when called with a 1-arity.
- A reductions transducer with explicit initialization values: reductions-with
- Do to arity conflicts, this is a separate function, not combined with reductions
A second patch proposes a variant which allows explicit initialization values: reductions-with
(assert (= (sequence (reductions-with + 0) [1 2 3 4 5]) [1 3 6 10 15])))
Prescreened by: Alex Miller