units-defs-2.2: 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.US.Liquid

Description

This module defines liquid volume measures as used in the USA. Note that liquid volumes in the USA differ both from solid volumes in the USA and from liquid volumes in the UK.

Included are all units mentioned here: http://en.wikipedia.org/wiki/United_States_customary_units Where possible, conversion rates have been independently verified at a US government website. However, Wikipedia's base is much better organized than any government resource immediately available. The US government references used are as follows: http://nist.gov/pml/wmd/metric/upload/SP1038.pdf http://nist.gov/pml/wmd/pubs/upload/appc-14-hb44-final.pdf

Synopsis

Documentation

data Gallon Source #

Constructors

Gallon 
Instances
Show Gallon Source # 
Instance details

Defined in Data.Units.US.Liquid

Unit Gallon Source # 
Instance details

Defined in Data.Units.US.Liquid

Associated Types

type BaseUnit Gallon :: Type #

type DimOfUnit Gallon :: Type #

type UnitFactorsOf Gallon :: [Factor Type] #

type UnitFactorsOf Gallon Source # 
Instance details

Defined in Data.Units.US.Liquid

type DimOfUnit Gallon Source # 
Instance details

Defined in Data.Units.US.Liquid

type BaseUnit Gallon Source # 
Instance details

Defined in Data.Units.US.Liquid

data Gill Source #

Constructors

Gill 
Instances
Show Gill Source # 
Instance details

Defined in Data.Units.US.Liquid

Methods

showsPrec :: Int -> Gill -> ShowS #

show :: Gill -> String #

showList :: [Gill] -> ShowS #

Unit Gill Source # 
Instance details

Defined in Data.Units.US.Liquid

Associated Types

type BaseUnit Gill :: Type #

type DimOfUnit Gill :: Type #

type UnitFactorsOf Gill :: [Factor Type] #

type UnitFactorsOf Gill Source # 
Instance details

Defined in Data.Units.US.Liquid

type DimOfUnit Gill Source # 
Instance details

Defined in Data.Units.US.Liquid

type BaseUnit Gill Source # 
Instance details

Defined in Data.Units.US.Liquid

data Cup Source #

Constructors

Cup 
Instances
Show Cup Source # 
Instance details

Defined in Data.Units.US.Liquid

Methods

showsPrec :: Int -> Cup -> ShowS #

show :: Cup -> String #

showList :: [Cup] -> ShowS #

Unit Cup Source # 
Instance details

Defined in Data.Units.US.Liquid

Associated Types

type BaseUnit Cup :: Type #

type DimOfUnit Cup :: Type #

type UnitFactorsOf Cup :: [Factor Type] #

type UnitFactorsOf Cup Source # 
Instance details

Defined in Data.Units.US.Liquid

type DimOfUnit Cup Source # 
Instance details

Defined in Data.Units.US.Liquid

type BaseUnit Cup Source # 
Instance details

Defined in Data.Units.US.Liquid

data Pint Source #

Constructors

Pint 
Instances
Show Pint Source # 
Instance details

Defined in Data.Units.US.Liquid

Methods

showsPrec :: Int -> Pint -> ShowS #

show :: Pint -> String #

showList :: [Pint] -> ShowS #

Unit Pint Source # 
Instance details

Defined in Data.Units.US.Liquid

Associated Types

type BaseUnit Pint :: Type #

type DimOfUnit Pint :: Type #

type UnitFactorsOf Pint :: [Factor Type] #

type UnitFactorsOf Pint Source # 
Instance details

Defined in Data.Units.US.Liquid

type DimOfUnit Pint Source # 
Instance details

Defined in Data.Units.US.Liquid

type BaseUnit Pint Source # 
Instance details

Defined in Data.Units.US.Liquid

data Quart Source #

Constructors

Quart 
Instances
Show Quart Source # 
Instance details

Defined in Data.Units.US.Liquid

Methods

showsPrec :: Int -> Quart -> ShowS #

show :: Quart -> String #

showList :: [Quart] -> ShowS #

Unit Quart Source # 
Instance details

Defined in Data.Units.US.Liquid

Associated Types

type BaseUnit Quart :: Type #

type DimOfUnit Quart :: Type #

type UnitFactorsOf Quart :: [Factor Type] #

type UnitFactorsOf Quart Source # 
Instance details

Defined in Data.Units.US.Liquid

type DimOfUnit Quart Source # 
Instance details

Defined in Data.Units.US.Liquid

type BaseUnit Quart Source # 
Instance details

Defined in Data.Units.US.Liquid

data Shot Source #

Constructors

Shot 
Instances
Show Shot Source # 
Instance details

Defined in Data.Units.US.Liquid

Methods

showsPrec :: Int -> Shot -> ShowS #

show :: Shot -> String #

showList :: [Shot] -> ShowS #

Unit Shot Source # 
Instance details

Defined in Data.Units.US.Liquid

Associated Types

type BaseUnit Shot :: Type #

type DimOfUnit Shot :: Type #

type UnitFactorsOf Shot :: [Factor Type] #

type UnitFactorsOf Shot Source # 
Instance details

Defined in Data.Units.US.Liquid

type DimOfUnit Shot Source # 
Instance details

Defined in Data.Units.US.Liquid

type BaseUnit Shot Source # 
Instance details

Defined in Data.Units.US.Liquid

data Minim Source #

Constructors

Minim 
Instances
Show Minim Source # 
Instance details

Defined in Data.Units.US.Liquid

Methods

showsPrec :: Int -> Minim -> ShowS #

show :: Minim -> String #

showList :: [Minim] -> ShowS #

Unit Minim Source # 
Instance details

Defined in Data.Units.US.Liquid

Associated Types

type BaseUnit Minim :: Type #

type DimOfUnit Minim :: Type #

type UnitFactorsOf Minim :: [Factor Type] #

type UnitFactorsOf Minim Source # 
Instance details

Defined in Data.Units.US.Liquid

type DimOfUnit Minim Source # 
Instance details

Defined in Data.Units.US.Liquid

type BaseUnit Minim Source # 
Instance details

Defined in Data.Units.US.Liquid

data Dram Source #

Constructors

Dram 
Instances
Show Dram Source # 
Instance details

Defined in Data.Units.US.Liquid

Methods

showsPrec :: Int -> Dram -> ShowS #

show :: Dram -> String #

showList :: [Dram] -> ShowS #

Unit Dram Source # 
Instance details

Defined in Data.Units.US.Liquid

Associated Types

type BaseUnit Dram :: Type #

type DimOfUnit Dram :: Type #

type UnitFactorsOf Dram :: [Factor Type] #

type UnitFactorsOf Dram Source # 
Instance details

Defined in Data.Units.US.Liquid

type DimOfUnit Dram Source # 
Instance details

Defined in Data.Units.US.Liquid

type BaseUnit Dram Source # 
Instance details

Defined in Data.Units.US.Liquid

data Barrel Source #

Constructors

Barrel 
Instances
Show Barrel Source # 
Instance details

Defined in Data.Units.US.Liquid

Unit Barrel Source # 
Instance details

Defined in Data.Units.US.Liquid

Associated Types

type BaseUnit Barrel :: Type #

type DimOfUnit Barrel :: Type #

type UnitFactorsOf Barrel :: [Factor Type] #

type UnitFactorsOf Barrel Source # 
Instance details

Defined in Data.Units.US.Liquid

type DimOfUnit Barrel Source # 
Instance details

Defined in Data.Units.US.Liquid

type BaseUnit Barrel Source # 
Instance details

Defined in Data.Units.US.Liquid

otherLiquidMeasures :: [Name] Source #

Includes the rest of the measures in this file.