| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Numeric.Units.Dimensional.UnitNames.InterchangeNames
Synopsis
- data InterchangeNameAuthority
- data InterchangeName = InterchangeName {}
- class HasInterchangeName a where
Documentation
data InterchangeNameAuthority #
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. |
Instances
data InterchangeName #
Constructors
| InterchangeName | |
Instances
class HasInterchangeName a where #
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 #
Instances
| HasInterchangeName InterchangeName # | |
Defined in Numeric.Units.Dimensional.UnitNames.InterchangeNames Methods | |
| HasInterchangeName Prefix # | |
Defined in Numeric.Units.Dimensional.UnitNames.Internal Methods | |
| HasInterchangeName AnyUnit # | |
Defined in Numeric.Units.Dimensional.Dynamic Methods | |
| HasInterchangeName (NameAtom m) # | |
Defined in Numeric.Units.Dimensional.UnitNames.Internal Methods interchangeName :: NameAtom m -> InterchangeName # | |
| HasInterchangeName (UnitName m) # | |
Defined in Numeric.Units.Dimensional.UnitNames.Internal Methods interchangeName :: UnitName m -> InterchangeName # | |
| HasInterchangeName (Unit m d a) # | |
Defined in Numeric.Units.Dimensional.Internal Methods interchangeName :: Unit m d a -> InterchangeName # | |