nats-1: Natural numbers

Copyright(C) 2011-2014 Edward Kmett,
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellTrustworthy
LanguageHaskell98

Numeric.Natural

Description

Natural numbers.

The Numeric.Natural module has become part of base starting with `base-4.8.0.0`.

Synopsis

Documentation

data Natural Source

Type representing arbitrary-precision non-negative integers.

Operations whose result would be negative throw (Underflow :: ArithException).

The Natural type has become part of base starting with `base-4.8.0.0`.