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
Requires GHC 6.6.1 or later.
[Skip to Readme]
|Versions||1.0, 1.0.1, 1.1, 1.2|
|Dependencies||base (<5) [details]|
|Copyright||Bjorn Buckwalter 2009-2014|
|Uploaded||by BjornBuckwalter at Tue Feb 11 11:52:29 UTC 2014|
|Downloads||2407 total (15 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI
For package maintainers and hackage trustees