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 Iteratory#slice_when and Iterator#chunk_while #7159

Merged
merged 1 commit into from
Dec 7, 2018

Conversation

asterite
Copy link
Member

@asterite asterite commented Dec 7, 2018

Part of #7142

Having both slice_when and chunk_while, given that the difference is only whether the condition is inverted or not, is debatable. However, one might be more readable than other depending on each case. Same as why while/until, if/unless exist.

@RX14
Copy link
Contributor

RX14 commented Dec 7, 2018

Merge conflicts!

@asterite
Copy link
Member Author

asterite commented Dec 7, 2018

@RX14 rebased

@RX14 RX14 added this to the 0.27.1 milestone Dec 7, 2018
@RX14 RX14 merged commit 6bdadcb into crystal-lang:master Dec 7, 2018
@asterite asterite deleted the feature/slice_when branch March 30, 2019 16:36
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