The type-digits package
Arbitrary ype-level digits, for when the radix itself doesn't actually matter. It's currently base-128, because that seemed to best expedite the compilation of the modules using this package. Please let me know what you find if you experiment with this. Type.Digits.radix is the (arbitrary) radix. Type.Digits.digit computes the NameG of a digit from its value (assuming its less than the radix). Combinators are provided to compute a full type-level numeral from values (potentially) larger than the radix.
Properties
| Versions | 0.1, 0.1.0.1, 0.1.0.2 |
|---|---|
| Dependencies | base (4.*), tagged-th (<0.2), template-haskell, type-spine (<0.2) |
| License | BSD3 |
| Author | Nicolas Frisby <nicolas.frisby@gmail.com> |
| Maintainer | Nicolas Frisby <nicolas.frisby@gmail.com> |
| Category | Type System |
| Upload date | Tue Mar 13 08:33:29 UTC 2012 |
| Uploaded by | NicolasFrisby |
| Built on | ghc-7.4 |
Modules
Downloads
- type-digits-0.1.0.2.tar.gz (Cabal source package)
- package description (included in the package)