The type-level-numbers package

[Tags: bsd3, library]

This is type level numbers implemented using type families. Natural numbers use binary encoding. With default context stack numbers up to 2^18-1 coudl be represented. Signed integer numbers use balanced ternary encoding.

Package is structured as folows:

So far comparison of numbers, subtraction and multiplication of numbers are supported.

Changes in

Changes in

Changes in


Change logNone available
Dependenciesbase (>=3 && <5), template-haskell (>2.0) [details]
AuthorAlexey Khudyakov <>
MaintainerAlexey Khudyakov <>
CategoryType System
Bug tracker
Source repositoryhead: hg clone
head: git clone
UploadedMon Apr 23 14:49:34 UTC 2012 by AlexeyKhudyakov
DistributionsLTSHaskell:, NixOS:, Stackage:
Downloads2051 total (62 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees