| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Numeric.Units.Dimensional.UnitNames.InterchangeNames
- data InterchangeNameAuthority
- data InterchangeName = InterchangeName {}
- class HasInterchangeName a where
Documentation
data InterchangeNameAuthority Source #
Represents the authority which issued an interchange name for a unit.
Constructors
| UCUM | The interchange name originated with the Unified Code for Units of Measure. |
| DimensionalLibrary | The interchange name originated with the dimensional library. |
| Custom | The interchange name originated with a user of the dimensional library. |
data InterchangeName Source #
Constructors
| InterchangeName | |
class HasInterchangeName a where Source #
Determines the authority which issued the interchange name of a unit or unit name. For composite units, this is the least-authoritative interchange name of any constituent name.
Note that the least-authoritative authority is the one sorted as greatest by the Ord instance of InterchangeNameAuthority.
Minimal complete definition
Methods
interchangeName :: a -> InterchangeName Source #