On Fri, Jan 23, 2015 at 08:44:05PM +0000, via Digitalmars-d wrote: [...] > You are talking about two different functions here. group by and > partition by. The function that has been implemented is often called > partition by. [...]
It's not too late to rename it, since we haven't released it yet. We still have a little window of time to make this change if necessary. Andrei? Returning each group as a tuple sounds like a distinct, albeit related, function. It can probably be added separately. T -- Why waste time reinventing the wheel, when you could be reinventing the engine? -- Damian Conway