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

[RFC] List map function with accumulator #8847

Open
bschommer opened this issue Jul 30, 2019 · 0 comments

Comments

@bschommer
Copy link
Contributor

commented Jul 30, 2019

The list module is missing some variant of the map function that additionally takes an accumulator like fold_map of base or fold_left_map of batteries. I think these functions are quite useful in general and are a good candidate to be included into the list module.

I would volunteer to Implement such a function, but I think it is better to have some consensus whether the function is wanted and what interface/name it should have before opening a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.