Copyright | (C) 2013 Richard Eisenberg |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Richard Eisenberg (rae@cs.brynmawr.edu) |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Data.Units.Imperial.Weight
Description
Due to the <https://en.wikipedia.org/wiki/International_yard_and_pound International yard and pound agreement of 1959>, it so happens that Imperial and US customary units of weight have the same base (the international pound at 0.45359237 kilograms). However, if subdivisions are generally the same, Imperial units feature different multiples of the pound, due to the presence of the stone. As in, using English conventions, the hundredweight is the *long* one (the short one is the cental). As is the ton. Also, of the troy system (the international one being, more or less, the avoirdupoids one) only the ounce is legal.
Where possible, reference have been made to UK legislation. However, Wikipedia's page is much better organized than any government resource immediately available.
The UK legislation used as references are as follows: http://www.legislation.gov.uk/ukpga/1985/72/enacted http://www.legislation.gov.uk/uksi/1994/2867/schedule/part/VI/made http://www.legislation.gov.uk/uksi/1995/1804/schedule/made
Documentation
Constructors
Pound |
Instances
Show Pound Source # | |
Unit Pound Source # | |
Defined in Data.Units.Imperial.Weight Associated Types type UnitFactorsOf Pound :: [Factor Type] # | |
type UnitFactorsOf Pound Source # | |
Defined in Data.Units.Imperial.Weight | |
type DimOfUnit Pound Source # | |
type BaseUnit Pound Source # | |
Defined in Data.Units.Imperial.Weight |
Constructors
Grain |
Instances
Show Grain Source # | |
Unit Grain Source # | |
Defined in Data.Units.Imperial.Weight Associated Types type UnitFactorsOf Grain :: [Factor Type] # | |
type UnitFactorsOf Grain Source # | |
Defined in Data.Units.Imperial.Weight | |
type DimOfUnit Grain Source # | |
type BaseUnit Grain Source # | |
Defined in Data.Units.Imperial.Weight |
Constructors
Dram |
Constructors
Ounce |
Instances
Show Ounce Source # | |
Unit Ounce Source # | |
Defined in Data.Units.Imperial.Weight Associated Types type UnitFactorsOf Ounce :: [Factor Type] # | |
type UnitFactorsOf Ounce Source # | |
Defined in Data.Units.Imperial.Weight | |
type DimOfUnit Ounce Source # | |
type BaseUnit Ounce Source # | |
Defined in Data.Units.Imperial.Weight |
Constructors
TroyOunce |
Instances
Show TroyOunce Source # | |
Unit TroyOunce Source # | |
Defined in Data.Units.Imperial.Weight Associated Types type UnitFactorsOf TroyOunce :: [Factor Type] # | |
type UnitFactorsOf TroyOunce Source # | |
Defined in Data.Units.Imperial.Weight type UnitFactorsOf TroyOunce = If (IsCanonical TroyOunce) '['F TroyOunce One] (UnitFactorsOf (BaseUnit TroyOunce)) | |
type DimOfUnit TroyOunce Source # | |
type BaseUnit TroyOunce Source # | |
Defined in Data.Units.Imperial.Weight |
Constructors
Stone |
Instances
Show Stone Source # | |
Unit Stone Source # | |
Defined in Data.Units.Imperial.Weight Associated Types type UnitFactorsOf Stone :: [Factor Type] # | |
type UnitFactorsOf Stone Source # | |
Defined in Data.Units.Imperial.Weight | |
type DimOfUnit Stone Source # | |
type BaseUnit Stone Source # | |
Defined in Data.Units.Imperial.Weight |
Constructors
Quarter |
Instances
Show Quarter Source # | |
Unit Quarter Source # | |
Defined in Data.Units.Imperial.Weight Associated Types type UnitFactorsOf Quarter :: [Factor Type] # | |
type UnitFactorsOf Quarter Source # | |
Defined in Data.Units.Imperial.Weight type UnitFactorsOf Quarter = If (IsCanonical Quarter) '['F Quarter One] (UnitFactorsOf (BaseUnit Quarter)) | |
type DimOfUnit Quarter Source # | |
type BaseUnit Quarter Source # | |
Defined in Data.Units.Imperial.Weight |
Constructors
Cental |
Instances
Show Cental Source # | |
Unit Cental Source # | |
Defined in Data.Units.Imperial.Weight Associated Types type UnitFactorsOf Cental :: [Factor Type] # | |
type UnitFactorsOf Cental Source # | |
Defined in Data.Units.Imperial.Weight type UnitFactorsOf Cental = If (IsCanonical Cental) '['F Cental One] (UnitFactorsOf (BaseUnit Cental)) | |
type DimOfUnit Cental Source # | |
type BaseUnit Cental Source # | |
Defined in Data.Units.Imperial.Weight |
data Hundredweight Source #
Constructors
Hundredweight |
Instances
Show Hundredweight Source # | |
Defined in Data.Units.Imperial.Weight Methods showsPrec :: Int -> Hundredweight -> ShowS # show :: Hundredweight -> String # showList :: [Hundredweight] -> ShowS # | |
Unit Hundredweight Source # | |
Defined in Data.Units.Imperial.Weight Associated Types type BaseUnit Hundredweight # type DimOfUnit Hundredweight # type UnitFactorsOf Hundredweight :: [Factor Type] # Methods | |
type UnitFactorsOf Hundredweight Source # | |
Defined in Data.Units.Imperial.Weight type UnitFactorsOf Hundredweight = If (IsCanonical Hundredweight) '['F Hundredweight One] (UnitFactorsOf (BaseUnit Hundredweight)) | |
type DimOfUnit Hundredweight Source # | |
Defined in Data.Units.Imperial.Weight | |
type BaseUnit Hundredweight Source # | |
Defined in Data.Units.Imperial.Weight |