data-nat: data Nat = Zero | Succ Nat

[ 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 (>=3 && <5), ghc-prim (==0.2.*), semigroups (>=0.7 && <0.9) [details]
License BSD-3-Clause
Copyright Copyright (C) 2012 Gábor Lehel
Author Gábor Lehel
Maintainer Gábor Lehel <illissius@gmail.com>
Category Data, Math
Home page http://github.com/glehel/data-nat
Source repo head: git clone git://github.com/glehel/data-nat.git
Uploaded by GaborLehel at Sun Sep 23 11:23:03 UTC 2012
Distributions NixOS:0.1.2
Downloads 1297 total (9 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

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees