factory-0.3.0.0: Rational arithmetic in an irrational world.

Safe HaskellSafe
LanguageHaskell2010

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 #