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

primes should return an iterator #83

Open
j2b2 opened this issue May 5, 2020 · 1 comment
Open

primes should return an iterator #83

j2b2 opened this issue May 5, 2020 · 1 comment

Comments

@j2b2
Copy link

j2b2 commented May 5, 2020

Today primes([lo,] hi) returns a collection, an iterator looks more suitable.

@oscardssmith
Copy link
Member

This is clearly a better API, but I think it might be too breaking. Anyone have thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants