Re: Generalize groupBy in a useful way?