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

# dimensional-1.0.1.3: 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 7.8 or later.

Modules

- Numeric
  - Units
    - Numeric.Units.Dimensional
      - Numeric.Units.Dimensional.Coercion
      - Numeric.Units.Dimensional.Dimensions
        - Numeric.Units.Dimensional.Dimensions.TermLevel
        - Numeric.Units.Dimensional.Dimensions.TypeLevel
      - Numeric.Units.Dimensional.Dynamic
      - 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.UnitNames.InterchangeNames
      - Numeric.Units.Dimensional.Variants