The nat package

[ Tags: bsd3, data, library, math ] [ Propose Tags ]

Implementation of natural numbers and integers by a binary representation. The implementation is supposed to be lazy and reasonable efficient (in comparison to peano numbers). This implementation is inspired by a similar approach in the functional logic programming language Curry.


Versions 0.1, 0.2, 0.3
Dependencies base (<4.5) [details]
License BSD3
Author Andres Löh, Frank Huch, Jan Christiansen
Maintainer Jan Christiansen <>
Category Data, Math
Uploaded Thu Jul 24 10:17:28 UTC 2008 by JanChristiansen
Updated Fri Nov 17 14:14:13 UTC 2017 by HerbertValerioRiedel to revision 2   [What is this?]
Distributions NixOS:0.3
Downloads 1070 total (169 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees