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

Add Path#each_part iterator #9138

Merged

Conversation

straight-shoota
Copy link
Member

@straight-shoota straight-shoota commented Apr 20, 2020

This PR adds a new overload of Path#each_part that returns an iterator.

@oprypin
Copy link
Member

oprypin commented Apr 20, 2020

Nice demo for why the compiler should support generating such iterators automatically, but also why it's so difficult.

@straight-shoota
Copy link
Member Author

@crystal-lang/crystallers Would be great to get reviews on this because I have a follow-up waiting =)

@RX14 RX14 added this to the 0.35.0 milestone Apr 24, 2020
@RX14 RX14 merged commit 28b6308 into crystal-lang:master Apr 24, 2020
@straight-shoota straight-shoota deleted the feature/path-each-part-iterator branch April 24, 2020 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants