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

next: iterate, repeat, replicate, and cycle methods should just be generators #75

Closed
3 tasks done
elycruz opened this issue Dec 30, 2023 · 0 comments · Fixed by #88
Closed
3 tasks done

next: iterate, repeat, replicate, and cycle methods should just be generators #75

elycruz opened this issue Dec 30, 2023 · 0 comments · Fixed by #88
Assignees
Labels
good first issue groomed Ticket has been groomed for development.

Comments

@elycruz
Copy link
Member

elycruz commented Dec 30, 2023

Generators in javascript replicate the idea of infinite lists (generator like construct) in haskell.

We should update these methods to match their haskell counterparts.

Reference: https://hackage.haskell.org/package/base-4.19.0.0/docs/Prelude.html#g:17

Sub tasks

Update:

  • Implementations.
  • Tests.
  • Docs.
@elycruz elycruz changed the title iterate, repeat, replicate, and cycle methods should just be generators next: iterate, repeat, replicate, and cycle methods should just be generators Dec 30, 2023
@elycruz elycruz added the groomed Ticket has been groomed for development. label Dec 30, 2023
elycruz added a commit that referenced this issue Feb 15, 2024
…p, on docblocks, tests, and implementations.
@elycruz elycruz self-assigned this Feb 15, 2024
elycruz added a commit that referenced this issue Feb 15, 2024
next: #57, #75 - `cycle`, `iterate`, `repeat`, and `replicate` generator impls.
@github-project-automation github-project-automation bot moved this to Done in Fjl v2.0 Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue groomed Ticket has been groomed for development.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant