For an explanation and easy improvemnts see Colin Runciman’s functional pearl “The primes using The Sieve of Eratosthenes”.
Found here in PDF or PS.
(via the PLT Discussion List)
For an explanation and easy improvemnts see Colin Runciman’s functional pearl “The primes using The Sieve of Eratosthenes”.
Found here in PDF or PS.
(via the PLT Discussion List)