Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Natural :: *
- integerToNatural :: Integer -> Natural
- naturalToInteger :: Natural -> Integer
Documentation
Type representing arbitrary-precision non-negative integers.
Operations whose result would be negative
.throw
(Underflow
:: ArithException
)
Since: 4.8.0.0
integerToNatural :: Integer -> Natural #
naturalToInteger :: Natural -> Integer #