[Haskell-cafe] Re: Code and Perf. Data for Prime Finders (was: Genuine Eratosthenes sieve)

ajb at spamcop.net ajb at spamcop.net
Fri Feb 23 05:40:27 EST 2007

G'day all.

Quoting Melissa O'Neill <oneill at cs.hmc.edu>:

> Cool, thanks.  When I ran your code trying to find the 10,000th
> prime, I got
>    AtkinSieveTest: Ix{Integer}.index: Index (36213) out of range
> ((0,36212))
> but that went away when I made your array one bigger.

Fixed, thanks.

Andrew Bromage

More information about the Haskell-Cafe mailing list