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

Description

This module defines apothecaries' measures of mass. These measures are rarely used.

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

Constructors

Dram 

Instances

Instances details
Show Dram Source # 
Instance details

Defined in Data.Units.US.Apothecaries

Methods

showsPrec :: Int -> Dram -> ShowS #

show :: Dram -> String #

showList :: [Dram] -> ShowS #

Unit Dram Source # 
Instance details

Defined in Data.Units.US.Apothecaries

Associated Types

type BaseUnit Dram #

type DimOfUnit Dram #

type UnitFactorsOf Dram :: [Factor Type] #

type UnitFactorsOf Dram Source # 
Instance details

Defined in Data.Units.US.Apothecaries

type DimOfUnit Dram Source # 
Instance details

Defined in Data.Units.US.Apothecaries

type BaseUnit Dram Source # 
Instance details

Defined in Data.Units.US.Apothecaries

The apothecaries' grain is the same as the avoirdupois grain.

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

The apothecaries' ounce and pound are the troy ounce and pound.

data Ounce Source #

Constructors

Ounce 

Instances

Instances details
Show Ounce Source # 
Instance details

Defined in Data.Units.US.Troy

Methods

showsPrec :: Int -> Ounce -> ShowS #

show :: Ounce -> String #

showList :: [Ounce] -> ShowS #

Unit Ounce Source # 
Instance details

Defined in Data.Units.US.Troy

Associated Types

type BaseUnit Ounce #

type DimOfUnit Ounce #

type UnitFactorsOf Ounce :: [Factor Type] #

type UnitFactorsOf Ounce Source # 
Instance details

Defined in Data.Units.US.Troy

type DimOfUnit Ounce Source # 
Instance details

Defined in Data.Units.US.Troy

type BaseUnit Ounce Source # 
Instance details

Defined in Data.Units.US.Troy

data Pound Source #

Constructors

Pound 

Instances

Instances details
Show Pound Source # 
Instance details

Defined in Data.Units.US.Troy

Methods

showsPrec :: Int -> Pound -> ShowS #

show :: Pound -> String #

showList :: [Pound] -> ShowS #

Unit Pound Source # 
Instance details

Defined in Data.Units.US.Troy

Associated Types

type BaseUnit Pound #

type DimOfUnit Pound #

type UnitFactorsOf Pound :: [Factor Type] #

type UnitFactorsOf Pound Source # 
Instance details

Defined in Data.Units.US.Troy

type DimOfUnit Pound Source # 
Instance details

Defined in Data.Units.US.Troy

type BaseUnit Pound Source # 
Instance details

Defined in Data.Units.US.Troy