Comment #0 by peter.alexander.au — 2015-02-15T19:33:15Z
At Andrei's request:
http://forum.dlang.org/thread/[email protected]
Paraphrased, taking into account amendments:
* Perhaps rename groupBy to chunkBy. People coming from SQL and other
languages might expect groupBy to do hash-based grouping.
* The unary function implementation must return for each group a tuple
consisting of the key and the lazy range of values. The binary function
implementation should continue to only return the lazy range of values.
* SortedRange should add a method called groupBy(). Invoked with no
predicate, groupBy() should do what chunkBy does, using the sorting predicate.
* aggregate() should be removed until we figure out how best to integrate.
Comment #1 by andrei — 2015-02-15T19:42:39Z
Instead of removing aggregate() it might be a good idea to just undocument it.
Comment #2 by peter.alexander.au — 2015-02-18T21:02:50Z