-
Notifications
You must be signed in to change notification settings - Fork 630
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
feat(collections/unstable): support Iterable
argument in takeWhile()
#5911
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5911 +/- ##
==========================================
- Coverage 96.28% 96.27% -0.01%
==========================================
Files 496 497 +1
Lines 39605 39621 +16
Branches 5841 5843 +2
==========================================
+ Hits 38134 38147 +13
- Misses 1429 1432 +3
Partials 42 42 ☔ View full report in Codecov by Sentry. |
takeWhile
replace array argument with Iterable
takeWhile
replace array argument with Iterable
Iterable
input in takeWhile()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! LGTM. @kt3k, how do you prefer we handle this, in terms of stability?
I'd prefer to avoid overloading with this. How about considering this as 'refactor' or 'fix'? |
Or, maybe we can just land this as |
SGTM |
Sorry for the delay. We're deciding how to best handle these changes that should probably be considered unstable. |
No problem. Let me know if you need anything from me |
Iterable
input in takeWhile()
Iterable
argument in takeWhile()
We decided to separate unstable feature from stable features more clearly (as described in #5920 ) to make it clear which part is stable and which part is not. We are going to move this PR's implementation to |
Iterable
argument in takeWhile()
Iterable
argument in takeWhile()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay. We've made a few tweaks, and now, LGTM! Thank you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Support
Iterable
for collectionstakeWhile
#5470