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.


Versions 0.1,,,,,,
Change log ChangeLog
Dependencies base (>=3 && <5), template-haskell (>2.0) [details]
License BSD3
Author Alexey Khudyakov <>
Maintainer Alexey Khudyakov <>
Stability Unknown
Category Type System
Bug tracker
Source repository head: hg clone
head: git clone
Uploaded Thu Oct 17 12:20:04 UTC 2013 by AlexeyKhudyakov
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 2402 total (14 in the last 30 days)
0 []
Status Docs available [build log]
Successful builds reported [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees