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

Instances details
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 DimOfUnit Pound #

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

Instances details
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 DimOfUnit Grain #

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

Instances details
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 DimOfUnit Dram #

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

Instances details
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 DimOfUnit Ounce #

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

Instances details
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 DimOfUnit Ton #

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

data LongTon Source #

Constructors

LongTon