Provides a lazy, infinite list of primes.
primes : LazyList Basics.Int
A lazy list of prime numbers.
A lazy list. Makes it possible to create infinite lists.
take : Basics.Int -> LazyList a -> List a
Like List.take
but for LazyList
.
Type to determine in which category a number falls.
A number is either a Prime
, a Composite
number or a Probable
prime.