numtype: Type-level (low cardinality) integers.
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.
[Skip to Readme]
Downloads
- numtype-1.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 1.0, 1.0.1, 1.1, 1.2 |
---|---|
Change log | changelog.md |
Dependencies | base (<4.9) [details] |
License | BSD-3-Clause |
Copyright | Bjorn Buckwalter 2009-2014 |
Author | Bjorn Buckwalter |
Maintainer | bjorn@buckwalter.se |
Revised | Revision 1 made by HerbertValerioRiedel at 2019-02-09T17:58:40Z |
Category | Math |
Home page | http://dimensional.googlecode.com/ |
Uploaded | by BjornBuckwalter at 2014-02-11T11:52:29Z |
Distributions | Debian:1.2 |
Reverse Dependencies | 4 direct, 12 indirect [details] |
Downloads | 4683 total (16 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Successful builds reported [all 1 reports] |