Copyright | Copyright (C) 2006-2015 Bjorn Buckwalter |
---|---|
License | BSD3 |
Maintainer | bjorn@buckwalter.se |
Stability | Stable |
Portability | GHC only |
Safe Haskell | Safe |
Language | Haskell2010 |
Extensions |
|
Provides a type level representation of Variant
s of dimensional values,
which may be quantities or units.
Documentation
The kind of variants of dimensional values.
DQuantity | The value is a quantity. |
DUnit Metricality | The value is a unit, possibly a |
data Metricality Source
Encodes whether a unit is a metric unit, that is, whether it can be combined with a metric prefix to form a related unit.