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

Implement DoubleEndedIterator for FilterOk #947

Closed
Xenira opened this issue May 27, 2024 · 3 comments
Closed

Implement DoubleEndedIterator for FilterOk #947

Xenira opened this issue May 27, 2024 · 3 comments

Comments

@Xenira
Copy link
Contributor

Xenira commented May 27, 2024

Should be doable with rfind unless there is a reason I overlooked.

Would be willing to implement this.

@Philippe-Cholet
Copy link
Member

Philippe-Cholet commented May 27, 2024

FlattenOk, MapSpecialCase (for MapOk, MapInto) are double ended and ProcessResults since a few weeks.
FilterOk and FilterMapOk are not (yet) but it seems reasonable to me.

Specialization tests and benchmarks will need to be updated but that's simple to do.

@Xenira
Copy link
Contributor Author

Xenira commented May 27, 2024

Like that? Have to admit, not entirely comprehending the test system yet.

Also not sure, if rfold needs custom impl. FlattenOk didn't have any. Edit: nvm, found it. So prob. yes.

@Philippe-Cholet
Copy link
Member

Philippe-Cholet commented May 27, 2024

@Xenira I did not notice before they were not double ended so thanks for this.

lpewewq pushed a commit to lpewewq/itertools that referenced this issue Aug 4, 2024
lpewewq pushed a commit to lpewewq/itertools that referenced this issue Aug 4, 2024
lpewewq pushed a commit to lpewewq/itertools that referenced this issue Aug 4, 2024
lpewewq pushed a commit to lpewewq/itertools that referenced this issue Aug 4, 2024
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

2 participants