Terry Reedy wrote:
> It would generate the sequence of partial reductions (potentially 
> indefinately).
> list(ireduce(summer, 0, range(5)) = [0, 1, 3, 6, 10]
> 
> This is obviously *not* the same as a reduce() which only returns the final 
> value without the intermediate values.

It's sufficiently different that I think calling it
'ireduce' would just be confusing.

It's more like a 'running_reduce' or something.

--
Greg
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to