-
Notifications
You must be signed in to change notification settings - Fork 253
More Semigroup additions #251
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
Conversation
puffnfresh
commented
May 16, 2016
- dual
- min/max
- lift
- sumRight
|
|
||
| /** | ||
| * Sums the given values with right-fold. | ||
| */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about naming it sumNel? associativity make sumRight and sumLeft equivalent, and thus using foldLeft1 would be more efficient...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@puffnfresh WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jbgi I agree. I will update this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, I did a merge of my branch and you will need to rebase now...
4fa4e82 to
ac4ab64
Compare
|
@jbgi rebased and fixed! |
ac4ab64 to
0386eb7
Compare