rename chunkBy to groupBy (follow Haskell practice)