JuliaMath/Primes.jl

primes should return an iterator

Opened this issue · 1 comments

j2b2 commented

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?