[Python-ideas] Reduce/fold and scan with generator expressions and comprehensions
Greg Ewing
greg.ewing at canterbury.ac.nz
Mon Oct 24 18:24:27 EDT 2016
There was a discussion about this a while ago. From what
I remember, the conclusion reached was that there are too
many degrees of freedom to be able to express reduction
operations in a comprehension-like way that's any clearer
than just using reduce() or writing out the appropriate
loops.
--
Greg
More information about the Python-ideas
mailing list