:: (a -> a -> Bool) -> [a] -> [[a]] package:rio

The groupBy function is the non-overloaded version of group.