Copyright | (C) 2011-2014 Edward Kmett, |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Trustworthy |
Language | Haskell98 |
Natural numbers.
The Numeric.Natural module has become part of base
starting
with `base-4.8.0.0`.
- data Natural
Documentation
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`.