Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data InterchangeNameAuthority
- data InterchangeName = InterchangeName {}
- class HasInterchangeName a where
- interchangeName :: a -> InterchangeName
Documentation
data InterchangeNameAuthority Source
Represents the authority which issued an interchange name for a unit.
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
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
.
interchangeName :: a -> InterchangeName Source