New issue
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
foldl1 for NonEmpty #61
Comments
Also, having |
+1 I've just noticed that |
Are |
I thought there'd be a catch! Yes, they're sufficient but should be documented as such. Having no reference to "append" in the Haddock is somewhat disconcerting. |
That sounds reasonable. But since |
Any changes here will be made to simply track base. As a result if you want such a function I recommend you file it as a proposal to libraries@haskell.org, so we can get it into base. Any changes made to base will be mirrored here for older GHC versions. |
I think that it would be good to add
foldl1
toNonEmpty
, especially because we can actually write a safe version of it:The same can be done for
foldr1
. Although at this point in time, it may make more sense to add this tobase-4.9
instead ofsemigroups
.The text was updated successfully, but these errors were encountered: