Primes.jl
Primes.jl copied to clipboard
primes should return an iterator
Today primes([lo,] hi)
returns a collection, an iterator looks more suitable.
This is clearly a better API, but I think it might be too breaking. Anyone have thoughts?