Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- 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. |
Instances
data InterchangeName Source #
Instances
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 #
Instances
HasInterchangeName InterchangeName Source # | |
HasInterchangeName Prefix Source # | |
Defined in Numeric.Units.Dimensional.UnitNames.Internal | |
HasInterchangeName AnyUnit Source # | |
Defined in Numeric.Units.Dimensional.Dynamic | |
HasInterchangeName (NameAtom m) Source # | |
Defined in Numeric.Units.Dimensional.UnitNames.Internal interchangeName :: NameAtom m -> InterchangeName Source # | |
HasInterchangeName (UnitName m) Source # | |
Defined in Numeric.Units.Dimensional.UnitNames.Internal interchangeName :: UnitName m -> InterchangeName Source # | |
HasInterchangeName (Unit m d a) Source # | |
Defined in Numeric.Units.Dimensional.Internal interchangeName :: Unit m d a -> InterchangeName Source # |