Skip to content
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

Reduce reduce #1734

Closed
jdalton opened this issue Jul 10, 2014 · 0 comments · Fixed by #1991
Closed

Reduce reduce #1734

jdalton opened this issue Jul 10, 2014 · 0 comments · Fixed by #1991

Comments

@jdalton
Copy link
Contributor

jdalton commented Jul 10, 2014

Currently _.reduce and _.reduceRight are really similar. They could be reduced by having a base form of reduce that also accepts an iteration helper either each or eachRight. This may be applicable to other areas too. For reference see this & this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants