Primes.jl icon indicating copy to clipboard operation
Primes.jl copied to clipboard

primes should return an iterator

Open j2b2 opened this issue 4 years ago • 1 comments

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

j2b2 avatar May 05 '20 12:05 j2b2

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

oscardssmith avatar Jun 24 '22 20:06 oscardssmith