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.Length

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 length have the same base (the international yard at 0.9144 meters). However, if subdivisions are generally the same, Imperial units feature multiples of the yard that US customary ones generally don't (e.g. the Imperial furlong is defined by reference to the international yard, not the US survey one).

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 Thou Source #

Constructors

Thou 

Instances

Instances details
Show Thou Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Thou -> ShowS #

show :: Thou -> String #

showList :: [Thou] -> ShowS #

Unit Thou Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type BaseUnit Thou #

type DimOfUnit Thou #

type UnitFactorsOf Thou :: [Factor Type] #

type UnitFactorsOf Thou Source # 
Instance details

Defined in Data.Units.Imperial.Length

type DimOfUnit Thou Source # 
Instance details

Defined in Data.Units.Imperial.Length

type BaseUnit Thou Source # 
Instance details

Defined in Data.Units.Imperial.Length

data Inch Source #

Constructors

Inch 

Instances

Instances details
Show Inch Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Inch -> ShowS #

show :: Inch -> String #

showList :: [Inch] -> ShowS #

Unit Inch Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type BaseUnit Inch #

type DimOfUnit Inch #

type UnitFactorsOf Inch :: [Factor Type] #

type UnitFactorsOf Inch Source # 
Instance details

Defined in Data.Units.Imperial.Length

type DimOfUnit Inch Source # 
Instance details

Defined in Data.Units.Imperial.Length

type BaseUnit Inch Source # 
Instance details

Defined in Data.Units.Imperial.Length

data Foot Source #

Constructors

Foot 

Instances

Instances details
Show Foot Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Foot -> ShowS #

show :: Foot -> String #

showList :: [Foot] -> ShowS #

Unit Foot Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type BaseUnit Foot #

type DimOfUnit Foot #

type UnitFactorsOf Foot :: [Factor Type] #

type UnitFactorsOf Foot Source # 
Instance details

Defined in Data.Units.Imperial.Length

type DimOfUnit Foot Source # 
Instance details

Defined in Data.Units.Imperial.Length

type BaseUnit Foot Source # 
Instance details

Defined in Data.Units.Imperial.Length

data Yard Source #

Constructors

Yard 

Instances

Instances details
Show Yard Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Yard -> ShowS #

show :: Yard -> String #

showList :: [Yard] -> ShowS #

Unit Yard Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type BaseUnit Yard #

type DimOfUnit Yard #

type UnitFactorsOf Yard :: [Factor Type] #

type UnitFactorsOf Yard Source # 
Instance details

Defined in Data.Units.Imperial.Length

type DimOfUnit Yard Source # 
Instance details

Defined in Data.Units.Imperial.Length

type BaseUnit Yard Source # 
Instance details

Defined in Data.Units.Imperial.Length

data Chain Source #

Constructors

Chain 

Instances

Instances details
Show Chain Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Chain -> ShowS #

show :: Chain -> String #

showList :: [Chain] -> ShowS #

Unit Chain Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type BaseUnit Chain #

type DimOfUnit Chain #

type UnitFactorsOf Chain :: [Factor Type] #

type UnitFactorsOf Chain Source # 
Instance details

Defined in Data.Units.Imperial.Length

type DimOfUnit Chain Source # 
Instance details

Defined in Data.Units.Imperial.Length

type BaseUnit Chain Source # 
Instance details

Defined in Data.Units.Imperial.Length

data Mile Source #

Constructors

Mile 

Instances

Instances details
Show Mile Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Mile -> ShowS #

show :: Mile -> String #

showList :: [Mile] -> ShowS #

Unit Mile Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type BaseUnit Mile #

type DimOfUnit Mile #

type UnitFactorsOf Mile :: [Factor Type] #

type UnitFactorsOf Mile Source # 
Instance details

Defined in Data.Units.Imperial.Length

type DimOfUnit Mile Source # 
Instance details

Defined in Data.Units.Imperial.Length

type BaseUnit Mile Source # 
Instance details

Defined in Data.Units.Imperial.Length

data League Source #

Constructors

League 

Instances

Instances details
Show League Source # 
Instance details

Defined in Data.Units.Imperial.Length

Unit League Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type BaseUnit League #

type DimOfUnit League #

type UnitFactorsOf League :: [Factor Type] #

type UnitFactorsOf League Source # 
Instance details

Defined in Data.Units.Imperial.Length

type DimOfUnit League Source # 
Instance details

Defined in Data.Units.Imperial.Length

type BaseUnit League Source # 
Instance details

Defined in Data.Units.Imperial.Length

data Hand Source #

Constructors

Hand 

Instances

Instances details
Show Hand Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Hand -> ShowS #

show :: Hand -> String #

showList :: [Hand] -> ShowS #

Unit Hand Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type BaseUnit Hand #

type DimOfUnit Hand #

type UnitFactorsOf Hand :: [Factor Type] #

type UnitFactorsOf Hand Source # 
Instance details

Defined in Data.Units.Imperial.Length

type DimOfUnit Hand Source # 
Instance details

Defined in Data.Units.Imperial.Length

type BaseUnit Hand Source # 
Instance details

Defined in Data.Units.Imperial.Length

commonLengths :: [Name] Source #

Common lengths units: Foot, Inch, Yard, and Mile

otherLengths :: [Name] Source #

Other lengths units: Thou, Hand, Chain, Furlong and League