| Copyright | (c) Nils Anders Danielsson 2004-2020 |
|---|---|
| License | See the file LICENCE. |
| Maintainer | http://www.cse.chalmers.se/~nad/ |
| Stability | experimental |
| Portability | non-portable (GHC-specific) |
| Safe Haskell | None |
| Language | Haskell2010 |
Test.ChasingBottoms.Nat
Description
A simple implementation of natural numbers on top of Integers.
Note that since Integers are used there is no infinite natural
number; in other words, succ is strict.
Documentation
Natural numbers.
No Data instance is provided, because the implementation should
be abstract.