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

Add foldl1 #6

Closed
sharkdp opened this issue Nov 26, 2017 · 4 comments
Closed

Add foldl1 #6

sharkdp opened this issue Nov 26, 2017 · 4 comments

Comments

@sharkdp
Copy link
Owner

sharkdp commented Nov 26, 2017

Like foldl but without the initial accumulator argument:

> seq 10 | foldl1 mul
3628800
@sharkdp
Copy link
Owner Author

sharkdp commented Apr 1, 2018

This should probably re-use the existing Foldl class (see how TakeWhile uses Filter).

@guilhermeleobas
Copy link
Contributor

Hi,

I'd like to work on this one

regards

@sharkdp
Copy link
Owner Author

sharkdp commented Apr 4, 2018

Sounds great!

@sharkdp sharkdp closed this as completed Apr 8, 2018
@sharkdp
Copy link
Owner Author

sharkdp commented Apr 8, 2018

Fixed via #23

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

No branches or pull requests

2 participants