The nat package

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

Implementation of natural numbers and integers by a binary representation. All functions are supposed to be as non-strict as possible. Furthermore the implementation is supposed to be 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.*) [details]
License BSD3
Author Jan Christiansen
Maintainer Jan Christiansen <>
Category Data, Math
Bug tracker
Source repo head: git clone
Uploaded Mon Aug 13 11:51:30 UTC 2012 by JanChristiansen
Distributions NixOS:0.3
Downloads 1584 total (19 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




Maintainer's Corner

For package maintainers and hackage trustees