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.Volume
Description
There's only one set of volume units in the Imperial system, hence the one ´Volume´ module to the two (´Liquid´ and ´DryVolume´) in the US system.
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
- data Gallon = Gallon
- data Quart = Quart
- data Pint = Pint
- data Gill = Gill
- data FluidOunce = FluidOunce
- data Cran = Cran
- data Bushel = Bushel
- commonVolumeMeasures :: [Name]
- otherVolumeMeasures :: [Name]
Documentation
Constructors
Gallon |
Instances
Show Gallon Source # | |
Unit Gallon Source # | |
Defined in Data.Units.Imperial.Volume Associated Types type UnitFactorsOf Gallon :: [Factor Type] # | |
type UnitFactorsOf Gallon Source # | |
Defined in Data.Units.Imperial.Volume type UnitFactorsOf Gallon = If (IsCanonical Gallon) '['F Gallon One] (UnitFactorsOf (BaseUnit Gallon)) | |
type DimOfUnit Gallon Source # | |
type BaseUnit Gallon Source # | |
Defined in Data.Units.Imperial.Volume |
Constructors
Quart |
Instances
Show Quart Source # | |
Unit Quart Source # | |
Defined in Data.Units.Imperial.Volume Associated Types type UnitFactorsOf Quart :: [Factor Type] # | |
type UnitFactorsOf Quart Source # | |
Defined in Data.Units.Imperial.Volume | |
type DimOfUnit Quart Source # | |
type BaseUnit Quart Source # | |
Defined in Data.Units.Imperial.Volume |
Constructors
Pint |
Constructors
Gill |
data FluidOunce Source #
Constructors
FluidOunce |
Instances
Show FluidOunce Source # | |
Defined in Data.Units.Imperial.Volume Methods showsPrec :: Int -> FluidOunce -> ShowS # show :: FluidOunce -> String # showList :: [FluidOunce] -> ShowS # | |
Unit FluidOunce Source # | |
Defined in Data.Units.Imperial.Volume Associated Types type BaseUnit FluidOunce # type DimOfUnit FluidOunce # type UnitFactorsOf FluidOunce :: [Factor Type] # | |
type UnitFactorsOf FluidOunce Source # | |
Defined in Data.Units.Imperial.Volume type UnitFactorsOf FluidOunce = If (IsCanonical FluidOunce) '['F FluidOunce One] (UnitFactorsOf (BaseUnit FluidOunce)) | |
type DimOfUnit FluidOunce Source # | |
Defined in Data.Units.Imperial.Volume | |
type BaseUnit FluidOunce Source # | |
Defined in Data.Units.Imperial.Volume |
Constructors
Cran |
Constructors
Bushel |
Instances
Show Bushel Source # | |
Unit Bushel Source # | |
Defined in Data.Units.Imperial.Volume Associated Types type UnitFactorsOf Bushel :: [Factor Type] # | |
type UnitFactorsOf Bushel Source # | |
Defined in Data.Units.Imperial.Volume type UnitFactorsOf Bushel = If (IsCanonical Bushel) '['F Bushel One] (UnitFactorsOf (BaseUnit Bushel)) | |
type DimOfUnit Bushel Source # | |
type BaseUnit Bushel Source # | |
Defined in Data.Units.Imperial.Volume |
commonVolumeMeasures :: [Name] Source #
Includes FluidOunce
, Pint
, Gallon