Iterator Indexing #73482
Labels
A-iterators
Area: Iterators
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Itertools is considering a PR introducing iterator indexing, implemented in the same manner as the core library's slice indexing mechanism. This playground link demonstrates the gist of it:
I'm excited to merge this—it feels like something that ought to be in the standard library—but I want to avoid another
{Itertools,Iterator}::flatten
debacle; i.e., if the core library later adopts this same method, then itertools users calling this method will have builds break.Would this addition be a good fit for the core library?
The text was updated successfully, but these errors were encountered: