The type-level-numbers package

[ Tags: bsd3, library, type-system ] [ Propose Tags ]

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 0.1.0.1:

Properties

Versions 0.1, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.1.0, 0.1.1.1
Dependencies base (>=3 && <5), template-haskell (>2.0) [details]
License BSD3
Author Alexey Khudyakov <alexey.skladnoy@gmail.com>
Maintainer Alexey Khudyakov <alexey.skladnoy@gmail.com>
Category Type System
Source repository head: hg clone http://bitbucket.org/Shimuuar/type-numbers
Uploaded Wed Mar 9 20:59:07 UTC 2011 by AlexeyKhudyakov
Distributions LTSHaskell:0.1.1.1, NixOS:0.1.1.1, Stackage:0.1.1.1, Tumbleweed:0.1.1.1
Downloads 2710 total (10 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