-
-
Notifications
You must be signed in to change notification settings - Fork 508
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
[RFC]: add @stdlib/iter/cunone
#2333
Comments
Hi @kgryte , could you please assign this issue to me? |
@ruthwikchikoti Yes, and I suggest you focus on addressing RFC before working on #1632. The README issue is less useful than adding this feature. |
Implement iterCuNone to create an iterator which cumulatively tests whether every iterated value is falsy. This new function: - Takes an input iterator - Returns a new iterator that yields boolean values - Continues yielding while all values are falsy - Yields once a truthy value is encountered - Handles both iterable and non-iterable input iterators Includes: - Main implementation - TypeScript typings - Tests - Benchmarks - Example usage - Documentation Closes stdlib-js#2333
@kgryte review this !! |
@kgryte please review ? |
seems like the linked pr has not been rectified in over 2 months, ill go ahead and start on this if thats okay |
@adityacodes30 Yes, that is fine. I have now closed the prior linked PR due to inactivity. |
Great , I'll deliver on this in ~72h |
PR-URL: #2978 Closes: #2333 Co-authored-by: Philipp Burckhardt <[email protected]> Reviewed-by: Philipp Burckhardt <[email protected]>
Description
This RFC proposes adding the package
@stdlib/iter/cunone
, which cumulatively tests whether every iterated value is falsy. The function should be a transform iterator, continuing to iterate while source iterator values are available.Related Issues
No.
Questions
No.
Other
@stdlib/iter/none
Checklist
RFC:
.The text was updated successfully, but these errors were encountered: