| Copyright | Copyright (C) 2006-2015 Bjorn Buckwalter |
|---|---|
| License | BSD3 |
| Maintainer | bjorn@buckwalter.se |
| Stability | Stable |
| Portability | GHC only |
| Safe Haskell | Safe |
| Language | Haskell2010 |
| Extensions |
|
Numeric.Units.Dimensional.Variants
Description
Provides a type level representation of Variants of dimensional values,
which may be quantities or units.
Documentation
The kind of variants of dimensional values.
Constructors
| 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.
Constructors
| Metric | Capable of receiving a metric prefix. |
| NonMetric | Incapable of receiving a metric prefix. |
Instances