Copyright | (C) 2014 Herbert Valerio Riedel (C) 2011 Edward Kmett |
---|---|
License | see libraries/base/LICENSE |
Maintainer | libraries@haskell.org |
Stability | provisional |
Portability | portable |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
The arbitrary-precision Natural
number type.
Since: 4.8.0.0
- data Natural
Documentation
Type representing arbitrary-precision non-negative integers.
Operations whose result would be negative
.throw
(Underflow
:: ArithException
)
Since: 4.8.0.0
Enum Natural # | Since: 4.8.0.0 |
Eq Natural # | |
Integral Natural # | Since: 4.8.0.0 |
Data Natural # | Since: 4.8.0.0 |
Num Natural # | Since: 4.8.0.0 |
Ord Natural # | |
Read Natural # | Since: 4.8.0.0 |
Real Natural # | Since: 4.8.0.0 |
Show Natural # | Since: 4.8.0.0 |
Ix Natural # | Since: 4.8.0.0 |
Bits Natural # | Since: 4.8.0.0 |
PrintfArg Natural # | Since: 4.8.0.0 |