Package1.5MathPhysics
dimensional
Statically checked physical dimensions
- Version1.5
- CategoryMath, Physics
- LicenceBSD-3-Clause
- AuthorBjorn Buckwalter
- Maintainerbjorn@buckwalter.se
- Homepagegithub.com/bjornbm/dimensional
- Pinned byhackage dimensional 1.5
- Sourcehackage.haskell.org/package/dimensional-1.5
Modules
16 modules- Numeric.Units.Dimensional101Summary In this module we provide data types for performing arithmetic with
- Numeric.Units.Dimensional.Coercion4Re-exports the raw Quantity constructor from the Numeric.Units.Dimensional.Internal module, along with coerce,
- Numeric.Units.Dimensional.Dimensions9Provides both term-level and type-level representations for physical dimensions in
- Numeric.Units.Dimensional.Dynamic23Defines types for manipulation of units and quantities without phantom types for their dimensions.
- Numeric.Units.Dimensional.FixedPoint108Defines types for manipulation of quantities with fixed point representations.
- Numeric.Units.Dimensional.Float23Defines convenience functions for inspecting and manipulating quantities with RealFloat
- Numeric.Units.Dimensional.Functor0Provides a Functor instance for Dimensional. Note that this instance is dubious, because it allows you to break the dimensional abstracti…
- Numeric.Units.Dimensional.NonSI61Summary This module defines units that are not part of the SI, with the
- Numeric.Units.Dimensional.Prelude251Summary This module supplies a convenient set of imports for working with the dimensional package, including aliases for common Quantitys…
- Numeric.Units.Dimensional.Quantities188Summary This module defines type synonyms for common dimensionalities and
- Numeric.Units.Dimensional.SIUnits71Summary This module defines the SI prefixes, the SI base units and the SI
- Numeric.Units.Dimensional.UnitNames26This module provides types and functions for manipulating unit names. Please note that the details of the name representation may be less…
- Numeric.Units.Dimensional.UnitNames.InterchangeNames3
Internal modules · 3
- Numeric.Units.Dimensional.Dimensions.TermLevel23This module defines physical dimensions expressed in terms of
- Numeric.Units.Dimensional.Dimensions.TypeLevel17This module defines type-level physical dimensions expressed in terms of
- Numeric.Units.Dimensional.Variants6Provides a type level representation of Variants of dimensional values,
Description
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 wrapping and unwrapping 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.
Depends on
6 packages- base-4.20.2.0with GHC
- deepseq-1.5.0.0with GHC
- exact-pi-0.5.0.2in this set
- ieee754-0.8.0in this set
- numtype-dk-0.5.0.3in this set
- vector-0.13.2.0in this set
Used by in this set · 0
Nothing in this set depends on it.