So that users can migrate the following pattern: ~~~ scala iterable.groupBy(f).mapValues(g).toMap ~~~ Into just: ~~~ scala iterable.groupMap(f)(g) ~~~