It might be useful to have a `group` function that has more specific type. `Data.List` has `group :: Eq a => [a] -> [[a]]`. I propose adding `group :: Eq a => [a] -> [NonEmpty a]` to `Relude.NonEmpty` and perhaps even hide the old one.
It might be useful to have a
groupfunction that has more specific type.Data.Listhasgroup :: Eq a => [a] -> [[a]].I propose adding
group :: Eq a => [a] -> [NonEmpty a]toRelude.NonEmptyand perhaps even hide the old one.