The numtype package

[Tags: bsd3, library]

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]

Properties

Versions1.0, 1.0.1, 1.1
Change logNone available
Dependenciesbase (<5) [details]
LicenseBSD3
CopyrightBjorn Buckwalter 2009
AuthorBjorn Buckwalter
Maintainerbjorn.buckwalter@gmail.com
Stabilitystable
CategoryMath
Home pagehttp://dimensional.googlecode.com/
UploadedSat Jun 6 21:48:34 UTC 2009 by BjornBuckwalter
DistributionsDebian:1.1, LTSHaskell:1.1, NixOS:1.1, Stackage:1.1
Downloads1039 total (28 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for numtype-1.0

For documentation see the literate haskell source code.

For project information (issues, updates, wiki, examples) see:
    http://code.google.com/p/dimensional/

To install (requires GHC 6.6 or later):
    runhaskell Setup.lhs configure
    runhaskell Setup.lhs build
    runhaskell Setup.lhs install