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