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

drop/dropRight/take/takeRight on TraverseFilter #4696

Open
johnynek opened this issue Jan 3, 2025 · 0 comments
Open

drop/dropRight/take/takeRight on TraverseFilter #4696

johnynek opened this issue Jan 3, 2025 · 0 comments

Comments

@johnynek
Copy link
Contributor

johnynek commented Jan 3, 2025

it occurs to me, strictly speaking, all you need is the total length, current index, and the ability to remove to implement these methods. TraverseFilter seems to have all those.

Should we add those to TraverseFilter and optimize the implementations on the strict collections?

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

No branches or pull requests

1 participant