Copyright | (C) 2013 Richard Eisenberg |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Richard Eisenberg (eir@cis.upenn.edu) |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
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
- data Gallon = Gallon
- data FluidOunce = FluidOunce
- data Gill = Gill
- data Cup = Cup
- data Pint = Pint
- data Quart = Quart
- data Teaspoon = Teaspoon
- data Tablespoon = Tablespoon
- data Shot = Shot
- data Minim = Minim
- data Dram = Dram
- data Hogshead = Hogshead
- data Barrel = Barrel
- data OilBarrel = OilBarrel
- commonLiquidMeasures :: [Name]
- otherLiquidMeasures :: [Name]
Documentation
data FluidOunce Source #
Show FluidOunce Source # | |
Unit FluidOunce Source # | |
type UnitFactorsOf FluidOunce Source # | |
type DimOfUnit FluidOunce Source # | |
type BaseUnit FluidOunce Source # | |
data Tablespoon Source #
Show Tablespoon Source # | |
Unit Tablespoon Source # | |
type UnitFactorsOf Tablespoon Source # | |
type DimOfUnit Tablespoon Source # | |
type BaseUnit Tablespoon Source # | |
commonLiquidMeasures :: [Name] Source #
As shown on Wikipedia: http://en.wikipedia.org/wiki/United_States_customary_units
otherLiquidMeasures :: [Name] Source #
Includes the rest of the measures in this file.