-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add something like Foldable1 / Traverse1 ? #145
Comments
I think instead of |
I definitely would like to see these type classes. I do like that Reducible would draw a parallel between foldLeft and reduceLeft. However, in the grand scheme of things, I'm wondering if Foldable1 would be more consistent/clear. Assuming we would have Traverse1/Traverse, the relationship between Foldable1/Foldable might be more clear. We have already chosen to use MonoidK and SemigroupK instead of the scalaz names to express their relationships with Monoid/Semigroup (respectively). Also people hopefully have a fear of std lib's reduceLeft since it blows up on empty collections ;) |
Fixed in #298. |
These are nice.
The text was updated successfully, but these errors were encountered: