The numtype package
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. It is, however, eminently suitable for applications such as representing physical dimensions (see the Dimensional library). Requires GHC 6.6.1 or later.
Properties
| Version | 1.0 |
|---|---|
| Dependencies | base (<5) |
| License | BSD3 |
| Copyright | Bjorn Buckwalter 2009 |
| Author | Bjorn Buckwalter |
| Maintainer | bjorn.buckwalter@gmail.com |
| Stability | stable |
| Category | Math |
| Home page | http://dimensional.googlecode.com/ |
| Upload date | Sat Jun 6 21:48:34 UTC 2009 |
| Uploaded by | BjornBuckwalter |
| Built on | ghc-6.10, ghc-6.12, ghc-7.0, ghc-7.2 |
| Distributions | NixOS: 1.0, Debian: 1.0 |
Modules
- Numeric
Downloads
- numtype-1.0.tar.gz (Cabal source package)
- package description (included in the package)