Differences between group() and chunkBy()

Per Nordlöw per.nordlow at gmail.com
Wed Nov 14 12:28:38 UTC 2018


Why is there at

https://dlang.org/phobos/std_algorithm_iteration.html

an inconsistency in naming of `group` and chunkBy`?

Is it because of `group` has a default for the predicate whereas 
`chunkBy` hasn't.

Further, why aren't the two merged into a single iteration 
algorithm?


More information about the Digitalmars-d-learn mailing list