# dimensional: Statically checked physical dimensions, using Type Families and Data Kinds.

Dimensional is a library providing data types for performing arithmetic with physical quantities and units. Information about the physical dimensions of the quantities and units is embedded in their types and the validity of operations is verified by the type checker at compile time. The boxing and unboxing of numerical values as quantities is done by multiplication and division with units. The library is designed to, as far as is practical, enforce/encourage best practices of unit usage. Version 1 of the dimensional package differs from earlier version in that the dimension tracking is implemented using Closed Type Families and Data Kinds rather than functional dependencies. This enables a number of features, including improved support for unit names and quantities with statically-unknown dimensions. Requires GHC 8.0 or later.

[Skip to Readme]

Versions [faq] | 0.7, 0.7.1, 0.7.2, 0.7.3, 0.8, 0.8.0.1, 0.8.2.1, 0.9, 0.10, 0.10.1, 0.10.1.1, 0.10.1.2, 0.10.2, 0.12, 0.12.1, 0.12.1.1, 0.12.2, 0.12.3, 0.13, 0.13.0.1, 0.13.0.2, 1.0.0.0, 1.0.1.0, 1.0.1.1, 1.0.1.2, 1.0.1.3, 1.1, 1.2, 1.3 |
---|---|

Change log | CHANGELOG.md |

Dependencies | base (>=4.9 && <5), deepseq (>=1.3), exact-pi (>=0.4.1 && <0.6), ieee754 (>=0.7.6), numtype-dk (>=0.5 && <1.1), semigroups, vector (>=0.10) [details] |

License | BSD-3-Clause |

Copyright | Bjorn Buckwalter 2006-2018 |

Author | Bjorn Buckwalter |

Maintainer | bjorn@buckwalter.se |

Revised | Revision 2 made by HerbertValerioRiedel at Fri Mar 22 09:55:50 UTC 2019 |

Category | Math, Physics |

Home page | https://github.com/bjornbm/dimensional/ |

Bug tracker | https://github.com/bjornbm/dimensional/issues/ |

Source repo | head: git clone https://github.com/bjornbm/dimensional/ |

Uploaded | by dmcclean at Fri Dec 28 21:57:20 UTC 2018 |

Distributions | Debian:1.1, NixOS:1.3, Stackage:1.3 |

Downloads | 16152 total (348 in the last 30 days) |

Rating | 2.5 (votes: 5) [estimated by Bayesian average] |

Your Rating | |

Status | Docs available [build log] Last success reported on 2018-12-28 [all 1 reports] |

## Modules

[Index] [Quick Jump]

*Numeric**Units*- Numeric.Units.Dimensional
- Numeric.Units.Dimensional.Coercion
- Numeric.Units.Dimensional.Dimensions
- Numeric.Units.Dimensional.Dynamic
- Numeric.Units.Dimensional.FixedPoint
- Numeric.Units.Dimensional.Float
- Numeric.Units.Dimensional.Functor
- Numeric.Units.Dimensional.NonSI
- Numeric.Units.Dimensional.Prelude
- Numeric.Units.Dimensional.Quantities
- Numeric.Units.Dimensional.SIUnits
- Numeric.Units.Dimensional.UnitNames
- Numeric.Units.Dimensional.Variants

- Numeric.Units.Dimensional

## Downloads

- dimensional-1.3.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'.