We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It might be useful to have a group function that has more specific type.
group
Data.List has group :: Eq a => [a] -> [[a]].
Data.List
group :: Eq a => [a] -> [[a]]
I propose adding group :: Eq a => [a] -> [NonEmpty a] to Relude.NonEmpty and perhaps even hide the old one.
group :: Eq a => [a] -> [NonEmpty a]
Relude.NonEmpty
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It might be useful to have a
group
function that has more specific type.Data.List
hasgroup :: Eq a => [a] -> [[a]]
.I propose adding
group :: Eq a => [a] -> [NonEmpty a]
toRelude.NonEmpty
and perhaps even hide the old one.The text was updated successfully, but these errors were encountered: