factory-0.2.1.1: Rational arithmetic in an irrational world.

Safe HaskellSafe-Inferred
LanguageHaskell98

Factory.Math.Implementations.Primes.TurnersSieve

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Generates the constant, conceptally infinite, list of prime-numbers, using Turner's Sieve; http://www.haskell.org/haskellwiki/Prime_numbers#Turner.27s_sieve_-_Trial_division.

Synopsis

Functions

turnersSieve :: Integral prime => [prime] Source