Conversation
Signed-off-by: Athan <kgryte@gmail.com>
kgryte
left a comment
There was a problem hiding this comment.
@Jaysukh-409 Thanks for working on this! A few descriptions need to be updated, and this package still needs tests. For the latter, you can consult iter/for-each while borrowing some ideas from utils/while-each. Once resolved, this PR should be ready for merge.
Signed-off-by: Athan <kgryte@gmail.com>
Signed-off-by: Athan <kgryte@gmail.com>
|
Please ignore changes made above. Due to some issues I got this trouble. |
Signed-off-by: Athan <kgryte@gmail.com>
Signed-off-by: Athan <kgryte@gmail.com>
kgryte
left a comment
There was a problem hiding this comment.
@Jaysukh-409 This is looking good! I think the only thing missing is benchmarks.
|
...and TypeScript declarations. |
Signed-off-by: Jaysukh Makvana <111515433+Jaysukh-409@users.noreply.github.com>
Signed-off-by: Athan <kgryte@gmail.com>
| * | ||
| * // ... | ||
| */ | ||
| declare function iterWhileEach( iterator: Iterator, predicate: Predicate, fcn: Callback, thisArg?: any ): Iterator; |
There was a problem hiding this comment.
We can improve this type declaration, but we need to do this more generally for packages in iter/*, where we are not good about preserving type information. We can leave as is, for now, and address in a subsequent PR/commit.
Signed-off-by: Athan <kgryte@gmail.com>
Resolves #810.
Description
This pull request:
Related Issues
This pull request:
@stdlib/iter/while-each#810Questions
I have added lib and examples for the whileEach iterator. Please review and provide feedback accordingly.
Other
No.
Checklist
@stdlib-js/reviewers