The data-nat package

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

The usual data Nat = Zero | Succ Nat datatype with the appropriate instances.

Should be portable to any Haskell 98 compiler which supports the CPP extension.


Versions 0.1, 0.1.1, 0.1.2
Dependencies base (==4.*), ghc-prim (==0.2.*), semigroups (>=0.7 && <0.9) [details]
License BSD3
Copyright Copyright (C) 2012 Gábor Lehel
Author Gábor Lehel
Maintainer Gábor Lehel <>
Category Data, Math
Home page
Source repo head: git clone git://
Uploaded Mon May 14 21:24:24 UTC 2012 by GaborLehel
Distributions NixOS:0.1.2
Downloads 1273 total (23 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