Closed
Description
Tracking issue for Iterator::fold_first
, like fold1
in Haskell.
Steps
- Initial implementation: Proposal:
fold_self
andtry_fold_self
for Iterators #65222 - Stabilisation PR: Rename Iterator::fold_first to reduce and stabilize it #79805
Open questions
- Naming.
fold_first
fold_with_first
fold1
reduce
- ...
-
Should we reconsidertry_fold_first
?
Metadata
Metadata
Assignees
Labels
Area: IteratorsBlocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFCLibs issues that are considered "small" or self-containedLibs issues that are tracked on the team's project board.Relevant to the library API team, which will review and decide on the PR/issue.