The type-level-natural-number package

[Tags:bsd3, library]

This is a simple, Haskell 2010 compatible implementation of type-level natural numbers. Operations requiring non-Haskell 2010 language extensions have been split into a separate package. The difference between this package and the many others on Hackage implementing type-level naturals is its emphasis on simplicity. It only supports non-negative natural numbers, and only the successor and predicessor operations. It represents natural numbers using a type-level linked list, so it is not intended to be used for representing large numbers. Pre-defined aliases for natural numbers up to 15 are provided. The code for this package was largely inspired by the type-level natural numbers in the excellent Vec package.

Properties

Versions 1.0, 1.1, 1.1.1, 2.0
Dependencies base (>=3 && <5) [details]
License BSD3
Author Gregory Crosswhite
Maintainer Gregory Crosswhite <gcross@phys.washington.edu>
Stability Provisional
Category Type System, Data
Uploaded Fri Jul 30 20:03:46 UTC 2010 by GregoryCrosswhite
Distributions NixOS:2.0
Downloads 834 total (9 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees