Copyright | (C) 2014 Herbert Valerio Riedel (C) 2011 Edward Kmett |
---|---|
License | see libraries/base/LICENSE |
Maintainer | [email protected] |
Stability | provisional |
Portability | portable |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
Type representing arbitrary-precision non-negative integers.
>>> 2^100 :: Natural 1267650600228229401496703205376
Operations whose result would be negative throw (Underflow :: ArithException)
,
>>> -1 :: Natural *** Exception: arithmetic underflow
Since: base-4.8.0.0
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.6.1/docs/html/libraries/base-4.12.0.0/Numeric-Natural.html