[WORK] groupBy is in! Next: aggregate

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Fri Jan 23 13:34:28 PST 2015


On Fri, Jan 23, 2015 at 12:40:01PM -0800, Andrei Alexandrescu via Digitalmars-d wrote:
> On 1/23/15 12:38 PM, bearophile wrote:
> >Ary Borenszweig:
> >
> >>In most languages group by yields a tuple of {group key, group
> >>values}.
> >
> >I'm saying this since some years... (and those languages probably
> >don't use sorting to perform the aggregation).
> 
> At some point in the coming years the pain is bound to become
> unbearable so you'll give the gift of a pull request. -- Andrei
    ^^^^
    (!!!)


*cowers and hides from the rotten tomatoes...*


T

-- 
It won't be covered in the book. The source code has to be useful for something, after all. -- Larry Wall


More information about the Digitalmars-d mailing list