The numtype package

[ Tags: bsd3, library, math ] [ Propose Tags ]

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

Versions 1.0, 1.0.1, 1.1, 1.2
Dependencies base (<4.7) [details]
License BSD3
Copyright Bjorn Buckwalter 2009
Author Bjorn Buckwalter
Maintainer bjorn.buckwalter@gmail.com
Category Math
Home page http://dimensional.googlecode.com/
Uploaded Tue Jul 16 13:38:20 UTC 2013 by BjornBuckwalter
Updated Mon Nov 16 18:53:39 UTC 2015 by AdamBergmark to revision 1   [What is this?]
Distributions Debian:1.1, NixOS:1.2
Downloads 1602 total (75 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

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


Readme for numtype-1.0.1

[back to package description]
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