numtype-tf: Type-level (low cardinality) integers, implemented using type families.
This package provides unary type level representations of the (positive and negative) integers and basic operations (addition, subtraction, multiplication, division) on these. Due to the unary implementation the practical size of the NumTypes is severely limited making them unsuitable for large-cardinality applications. If you will be working with integers beyond (-20, 20) this package probably isn't for you. The numtype-tf packade differs from the numtype package in that the NumTypes are implemented using type families rather than functional dependencies. Requires GHC 7.0 or later.
[Skip to Readme]
Downloads
- numtype-tf-0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1, 0.1.1, 0.1.2 |
|---|---|
| Dependencies | base (<5) [details] |
| License | BSD-3-Clause |
| Copyright | Bjorn Buckwalter 2012 |
| Author | Bjorn Buckwalter |
| Maintainer | bjorn.buckwalter@gmail.com |
| Uploaded | by BjornBuckwalter at 2012-01-25T13:33:22Z |
| Category | Math |
| Home page | http://dimensional.googlecode.com/ |
| Distributions | |
| Reverse Dependencies | 3 direct, 2 indirect [details] |
| Downloads | 2760 total (14 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |