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 Source # | Since: 4.8.0.0 |
Eq Natural Source # | |
Integral Natural Source # | Since: 4.8.0.0 |
Data Natural Source # | Since: 4.8.0.0 |
Num Natural Source # | Since: 4.8.0.0 |
Ord Natural Source # | |
Read Natural Source # | Since: 4.8.0.0 |
Real Natural Source # | Since: 4.8.0.0 |
Show Natural Source # | Since: 4.8.0.0 |
Ix Natural Source # | Since: 4.8.0.0 |
Bits Natural Source # | Since: 4.8.0.0 |
PrintfArg Natural Source # | Since: 4.8.0.0 |