units-defs-2.0: Definitions for use with the units package

Copyright(C) 2013 Richard Eisenberg
LicenseBSD-style (see LICENSE)
MaintainerRichard Eisenberg (eir@cis.upenn.edu)
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Data.Units.US

Contents

Description

This module defines the American customary system of units. Because there are some names that are conflicted, even within this system, there are several modules underneath here, defining sub-parts of the US system. This module gathers together a subjective set of units users will commonly wish to use. It also exports type instances DefaultUnitOfDim that use the SI internal representations. This choice is made for inter-compatibility with SI computations. If you want the foot-pound-second system, use the FPS.

Included are all units mentioned here: http:/en.wikipedia.orgwiki/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.govpmlwmdmetricuploadSP1038.pdf http:/nist.govpmlwmdpubsuploadappc-14-hb44-final.pdf

Synopsis

Lengths

data Mil Source

Constructors

Mil 

Instances

data Pica Source

Constructors

Pica 

data Inch Source

Constructors

Inch 

data Foot Source

Constructors

Foot 

data Yard Source

Constructors

Yard 

data Mile Source

Constructors

Mile 

Velocity

Area

data Acre Source

Constructors

Acre 

Volume

These are all liquid measures. Solid measures are different.

data Cup Source

Constructors

Cup 

data Pint Source

Constructors

Pint 

Mass

These are all in the avoirdupois system

data Ton Source

Constructors

Ton 

Instances

Pressure

data Bar Source

Constructors

Bar 

Energy

data Btu Source

Constructors

Btu 

Instances

Power