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

Changes in 0.1.0.2:


Properties

Versions0.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
Dependenciesbase (>=3 && <5), template-haskell (>2.0)
LicenseBSD3
AuthorAlexey Khudyakov <alexey.skladnoy@gmail.com>
MaintainerAlexey Khudyakov <alexey.skladnoy@gmail.com>
CategoryType System
Source repositoryhead: hg clone http://bitbucket.org/Shimuuar/type-level-numbers
UploadedThu Mar 10 17:38:09 UTC 2011 by AlexeyKhudyakov
Downloads1238 total (123 in last 30 days)
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees