nat: Lazy binary natural numbers

[ 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 BSD-3-Clause
Author Andres Löh, Frank Huch, Jan Christiansen
Maintainer Jan Christiansen <>
Revised Revision 2 made by HerbertValerioRiedel at Fri Nov 17 14:14:13 UTC 2017
Category Data, Math
Uploaded by JanChristiansen at Thu Jul 24 10:17:28 UTC 2008
Distributions NixOS:0.3
Downloads 1615 total (11 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