nats-0.1.2: Haskell 98 natural numbers
Numeric.Natural
Description
Natural numbers.
Synopsis
data Natural
Instances
class Integral n => Whole n where
A refinement of Integral to represent types that do not contain negative numbers.
Integral
Methods
toNatural :: n -> Natural
natural :: a -> (a -> a) -> Natural -> a
Church decoding