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