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

Description

This module defines avoirdupois measures of mass. The avoirdupois system is the one most commonly used in the US.

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

Constructors

Pound 
Instances
Show Pound Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

Methods

showsPrec :: Int -> Pound -> ShowS #

show :: Pound -> String #

showList :: [Pound] -> ShowS #

Unit Pound Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

Associated Types

type BaseUnit Pound :: Type #

type DimOfUnit Pound :: Type #

type UnitFactorsOf Pound :: [Factor Type] #

type UnitFactorsOf Pound Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

type DimOfUnit Pound Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

type BaseUnit Pound Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

data Grain Source #

Constructors

Grain 
Instances
Show Grain Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

Methods

showsPrec :: Int -> Grain -> ShowS #

show :: Grain -> String #

showList :: [Grain] -> ShowS #

Unit Grain Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

Associated Types

type BaseUnit Grain :: Type #

type DimOfUnit Grain :: Type #

type UnitFactorsOf Grain :: [Factor Type] #

type UnitFactorsOf Grain Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

type DimOfUnit Grain Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

type BaseUnit Grain Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

data Dram Source #

Constructors

Dram 
Instances
Show Dram Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

Methods

showsPrec :: Int -> Dram -> ShowS #

show :: Dram -> String #

showList :: [Dram] -> ShowS #

Unit Dram Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

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

type DimOfUnit Dram Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

type BaseUnit Dram Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

data Ounce Source #

Constructors

Ounce 
Instances
Show Ounce Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

Methods

showsPrec :: Int -> Ounce -> ShowS #

show :: Ounce -> String #

showList :: [Ounce] -> ShowS #

Unit Ounce Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

Associated Types

type BaseUnit Ounce :: Type #

type DimOfUnit Ounce :: Type #

type UnitFactorsOf Ounce :: [Factor Type] #

type UnitFactorsOf Ounce Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

type DimOfUnit Ounce Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

type BaseUnit Ounce Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

data Ton Source #

Constructors

Ton 
Instances
Show Ton Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

Methods

showsPrec :: Int -> Ton -> ShowS #

show :: Ton -> String #

showList :: [Ton] -> ShowS #

Unit Ton Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

Associated Types

type BaseUnit Ton :: Type #

type DimOfUnit Ton :: Type #

type UnitFactorsOf Ton :: [Factor Type] #

type UnitFactorsOf Ton Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

type DimOfUnit Ton Source # 
Instance details

Defined in Data.Units.US.Avoirdupois

type BaseUnit Ton Source # 
Instance details

Defined in Data.Units.US.Avoirdupois