The type-level-numbers package

[Tags:bsd3, library, test]

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


Versions 0.1,,,,,,
Dependencies base (>=3 && <5), template-haskell (>2.0) [details]
License BSD3
Author Alexey Khudyakov <>
Maintainer Alexey Khudyakov <>
Stability Unknown
Category Type System
Source repository head: hg clone
Uploaded Thu Mar 10 17:38:09 UTC 2011 by AlexeyKhudyakov
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 2409 total (21 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees