Safe Haskell | Safe-Infered |
---|
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Exports a common interface for implementations of prime-number generators.
- class Algorithmic algorithm where
- primorial :: (Algorithmic algorithm, NFData i, Ix i, Integral i) => algorithm -> [i]
Types-classes
Functions
primorial :: (Algorithmic algorithm, NFData i, Ix i, Integral i) => algorithm -> [i]Source
- Returns the constant list, defining the Primorial.
- http://en.wikipedia.org/wiki/Primorial.
- http://mathworld.wolfram.com/Primorial.html.