Skip to content

proposal: iter: add Map/Filter/Reduce functions #70761

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

Closed
Manbeardo opened this issue Dec 10, 2024 · 1 comment
Closed

proposal: iter: add Map/Filter/Reduce functions #70761

Manbeardo opened this issue Dec 10, 2024 · 1 comment
Labels
Milestone

Comments

@Manbeardo
Copy link

Proposal Details

When Map, Filter, and Reduce were dropped from the slices proposal, the summary of the reasoning was:

probably better as part of a more comprehensive streams API somewhere else

Now that iterators are in the language, iter arguably is that comprehensive streams API. Maybe those functions would be at home in that package?

@gopherbot gopherbot added this to the Proposal milestone Dec 10, 2024
@jimmyfrasche
Copy link
Member

Duplicate of #61898 which plans to add them to x/exp/xiter first

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

No branches or pull requests

3 participants