-
-
Notifications
You must be signed in to change notification settings - Fork 447
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: add iter/cusome
#2561
feat: add iter/cusome
#2561
Conversation
@TheNourhan I think you misunderstood the RFC. The iterator should never end until the source iterator ends. It should cumulatively test for at least n elements, forever returning true until the source iterator no longer has iterated values. See other cumulative iterators for an example. Also, please ensure that your source implementation matches the style and conventions of other iterator packages. |
@kgryte Sorry for the confusion, I've edited it |
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.
Thanks for continuing to work on this, @TheNourhan. This is coming along. Left a couple more comments. I suggest more closely studying cuany
and updating this PR accordingly.
Additionally, CI failures also need to be addressed before this PR can be merged. |
@kgryte I made all the changes you requested, I hope everything is fine now :) |
iter/cusome
If there something I can improve to move forward with the merger? @kgryte |
…/TheNourhan/2561
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. Thanks for working on this, @TheNourhan. I made a number of changes which you'll want to keep in mind for future PRs. The main thing is being consistent with code elsewhere in the project.
Resolves #2334
Description
This pull request:
Related Issues
This pull request:
@stdlib/iter/cusome
#2334Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers