units-defs-2.2.1: Definitions for use with the units package
Copyright(C) 2013 Richard Eisenberg
LicenseBSD-style (see LICENSE)
MaintainerRichard Eisenberg (rae@cs.brynmawr.edu)
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

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

Synopsis

Documentation

data Pound Source #

Constructors

Pound 

Instances

Instances details
Show Pound Source # 
Instance details

Defined in Data.Units.Imperial.Weight

Methods

showsPrec :: Int -> Pound -> ShowS #

show :: Pound -> String #

showList :: [Pound] -> ShowS #

Unit Pound Source # 
Instance details

Defined in Data.Units.Imperial.Weight

Associated Types

type BaseUnit Pound #

type DimOfUnit Pound #

type UnitFactorsOf Pound :: [Factor Type] #

type UnitFactorsOf Pound Source # 
Instance details

Defined in Data.Units.Imperial.Weight

type DimOfUnit Pound Source # 
Instance details

Defined in Data.Units.Imperial.Weight

type BaseUnit Pound Source # 
Instance details

Defined in Data.Units.Imperial.Weight

data Grain Source #

Constructors

Grain 

Instances

Instances details
Show Grain Source # 
Instance details

Defined in Data.Units.Imperial.Weight

Methods

showsPrec :: Int -> Grain -> ShowS #

show :: Grain -> String #

showList :: [Grain] -> ShowS #

Unit Grain Source # 
Instance details

Defined in Data.Units.Imperial.Weight

Associated Types

type BaseUnit Grain #

type DimOfUnit Grain #

type UnitFactorsOf Grain :: [Factor Type] #

type UnitFactorsOf Grain Source # 
Instance details

Defined in Data.Units.Imperial.Weight

type DimOfUnit Grain Source # 
Instance details

Defined in Data.Units.Imperial.Weight

type BaseUnit Grain Source # 
Instance details

Defined in Data.Units.Imperial.Weight

data Dram Source #

Constructors

Dram 

Instances

Instances details
Show Dram Source # 
Instance details

Defined in Data.Units.Imperial.Weight

Methods

showsPrec :: Int -> Dram -> ShowS #

show :: Dram -> String #

showList :: [Dram] -> ShowS #

Unit Dram Source # 
Instance details

Defined in Data.Units.Imperial.Weight

Associated Types

type BaseUnit Dram #

type DimOfUnit Dram #

type UnitFactorsOf Dram :: [Factor Type] #

type UnitFactorsOf Dram Source # 
Instance details

Defined in Data.Units.Imperial.Weight

type DimOfUnit Dram Source # 
Instance details

Defined in Data.Units.Imperial.Weight

type BaseUnit Dram Source # 
Instance details

Defined in Data.Units.Imperial.Weight

data Ounce Source #

Constructors

Ounce 

Instances

Instances details
Show Ounce Source # 
Instance details

Defined in Data.Units.Imperial.Weight

Methods

showsPrec :: Int -> Ounce -> ShowS #

show :: Ounce -> String #

showList :: [Ounce] -> ShowS #

Unit Ounce Source # 
Instance details

Defined in Data.Units.Imperial.Weight

Associated Types

type BaseUnit Ounce #

type DimOfUnit Ounce #

type UnitFactorsOf Ounce :: [Factor Type] #

type UnitFactorsOf Ounce Source # 
Instance details

Defined in Data.Units.Imperial.Weight

type DimOfUnit Ounce Source # 
Instance details

Defined in Data.Units.Imperial.Weight

type BaseUnit Ounce Source # 
Instance details

Defined in Data.Units.Imperial.Weight

data Stone Source #

Constructors

Stone 

Instances

Instances details
Show Stone Source # 
Instance details

Defined in Data.Units.Imperial.Weight

Methods

showsPrec :: Int -> Stone -> ShowS #

show :: Stone -> String #

showList :: [Stone] -> ShowS #

Unit Stone Source # 
Instance details

Defined in Data.Units.Imperial.Weight

Associated Types

type BaseUnit Stone #

type DimOfUnit Stone #

type UnitFactorsOf Stone :: [Factor Type] #

type UnitFactorsOf Stone Source # 
Instance details

Defined in Data.Units.Imperial.Weight

type DimOfUnit Stone Source # 
Instance details

Defined in Data.Units.Imperial.Weight

type BaseUnit Stone Source # 
Instance details

Defined in Data.Units.Imperial.Weight

data Cental Source #

Constructors

Cental 

Instances

Instances details
Show Cental Source # 
Instance details

Defined in Data.Units.Imperial.Weight

Unit Cental Source # 
Instance details

Defined in Data.Units.Imperial.Weight

Associated Types

type BaseUnit Cental #

type DimOfUnit Cental #

type UnitFactorsOf Cental :: [Factor Type] #

type UnitFactorsOf Cental Source # 
Instance details

Defined in Data.Units.Imperial.Weight

type DimOfUnit Cental Source # 
Instance details

Defined in Data.Units.Imperial.Weight

type BaseUnit Cental Source # 
Instance details

Defined in Data.Units.Imperial.Weight

data Ton Source #

Constructors

Ton 

Instances

Instances details
Show Ton Source # 
Instance details

Defined in Data.Units.Imperial.Weight

Methods

showsPrec :: Int -> Ton -> ShowS #

show :: Ton -> String #

showList :: [Ton] -> ShowS #

Unit Ton Source # 
Instance details

Defined in Data.Units.Imperial.Weight

Associated Types

type BaseUnit Ton #

type DimOfUnit Ton #

type UnitFactorsOf Ton :: [Factor Type] #

type UnitFactorsOf Ton Source # 
Instance details

Defined in Data.Units.Imperial.Weight

type DimOfUnit Ton Source # 
Instance details

Defined in Data.Units.Imperial.Weight

type BaseUnit Ton Source # 
Instance details

Defined in Data.Units.Imperial.Weight