natural-numbers

Natural numbers

http://darcs.wolfgang.jeltsch.info/haskell/natural-numbers

Latest on Hackage:0.1.2.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Wolfgang Jeltsch
Maintained by [email protected]

This package provides a type of all natural numbers, that is, non-negative integers.

In contrast to the naturals package, it does not use an “indeterminate value” to represent underflows, but raises errors on underflows. We think this is more reasonable, as this “indeterminate value” is not really a natural.