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

Description

This module defines American customary units that don't fit into other categories.

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

Constructors

Foot 

Instances

Instances details
Show Foot Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Foot -> ShowS #

show :: Foot -> String #

showList :: [Foot] -> ShowS #

Unit Foot Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Foot #

type DimOfUnit Foot #

type UnitFactorsOf Foot :: [Factor Type] #

type UnitFactorsOf Foot Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Foot Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Foot Source # 
Instance details

Defined in Data.Units.US.Misc

data Inch Source #

Constructors

Inch 

Instances

Instances details
Show Inch Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Inch -> ShowS #

show :: Inch -> String #

showList :: [Inch] -> ShowS #

Unit Inch Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Inch #

type DimOfUnit Inch #

type UnitFactorsOf Inch :: [Factor Type] #

type UnitFactorsOf Inch Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Inch Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Inch Source # 
Instance details

Defined in Data.Units.US.Misc

data Yard Source #

Constructors

Yard 

Instances

Instances details
Show Yard Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Yard -> ShowS #

show :: Yard -> String #

showList :: [Yard] -> ShowS #

Unit Yard Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Yard #

type DimOfUnit Yard #

type UnitFactorsOf Yard :: [Factor Type] #

type UnitFactorsOf Yard Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Yard Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Yard Source # 
Instance details

Defined in Data.Units.US.Misc

data Mile Source #

Constructors

Mile 

Instances

Instances details
Show Mile Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Mile -> ShowS #

show :: Mile -> String #

showList :: [Mile] -> ShowS #

Unit Mile Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Mile #

type DimOfUnit Mile #

type UnitFactorsOf Mile :: [Factor Type] #

type UnitFactorsOf Mile Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Mile Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Mile Source # 
Instance details

Defined in Data.Units.US.Misc

data Angstrom Source #

Constructors

Angstrom 

Instances

Instances details
Show Angstrom Source # 
Instance details

Defined in Data.Units.US.Misc

Unit Angstrom Source # 
Instance details

Defined in Data.Units.US.Misc

type UnitFactorsOf Angstrom Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Angstrom Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Angstrom Source # 
Instance details

Defined in Data.Units.US.Misc

data Hand Source #

Constructors

Hand 

Instances

Instances details
Show Hand Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Hand -> ShowS #

show :: Hand -> String #

showList :: [Hand] -> ShowS #

Unit Hand Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Hand #

type DimOfUnit Hand #

type UnitFactorsOf Hand :: [Factor Type] #

type UnitFactorsOf Hand Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Hand Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Hand Source # 
Instance details

Defined in Data.Units.US.Misc

data Mil Source #

Constructors

Mil 

Instances

Instances details
Show Mil Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Mil -> ShowS #

show :: Mil -> String #

showList :: [Mil] -> ShowS #

Unit Mil Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Mil #

type DimOfUnit Mil #

type UnitFactorsOf Mil :: [Factor Type] #

type UnitFactorsOf Mil Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Mil Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Mil Source # 
Instance details

Defined in Data.Units.US.Misc

data Point Source #

Constructors

Point 

Instances

Instances details
Show Point Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Point -> ShowS #

show :: Point -> String #

showList :: [Point] -> ShowS #

Unit Point Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Point #

type DimOfUnit Point #

type UnitFactorsOf Point :: [Factor Type] #

type UnitFactorsOf Point Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Point Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Point Source # 
Instance details

Defined in Data.Units.US.Misc

data Pica Source #

Constructors

Pica 

Instances

Instances details
Show Pica Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Pica -> ShowS #

show :: Pica -> String #

showList :: [Pica] -> ShowS #

Unit Pica Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Pica #

type DimOfUnit Pica #

type UnitFactorsOf Pica :: [Factor Type] #

type UnitFactorsOf Pica Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Pica Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Pica Source # 
Instance details

Defined in Data.Units.US.Misc

data Fathom Source #

Constructors

Fathom 

Instances

Instances details
Show Fathom Source # 
Instance details

Defined in Data.Units.US.Misc

Unit Fathom Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Fathom #

type DimOfUnit Fathom #

type UnitFactorsOf Fathom :: [Factor Type] #

type UnitFactorsOf Fathom Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Fathom Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Fathom Source # 
Instance details

Defined in Data.Units.US.Misc

data Cable Source #

Constructors

Cable 

Instances

Instances details
Show Cable Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Cable -> ShowS #

show :: Cable -> String #

showList :: [Cable] -> ShowS #

Unit Cable Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Cable #

type DimOfUnit Cable #

type UnitFactorsOf Cable :: [Factor Type] #

type UnitFactorsOf Cable Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Cable Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Cable Source # 
Instance details

Defined in Data.Units.US.Misc

data Knot Source #

Constructors

Knot 

Instances

Instances details
Show Knot Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Knot -> ShowS #

show :: Knot -> String #

showList :: [Knot] -> ShowS #

Unit Knot Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Knot #

type DimOfUnit Knot #

type UnitFactorsOf Knot :: [Factor Type] #

type UnitFactorsOf Knot Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Knot Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Knot Source # 
Instance details

Defined in Data.Units.US.Misc

data Bar Source #

Constructors

Bar 

Instances

Instances details
Show Bar Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Bar -> ShowS #

show :: Bar -> String #

showList :: [Bar] -> ShowS #

Unit Bar Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Bar #

type DimOfUnit Bar #

type UnitFactorsOf Bar :: [Factor Type] #

type UnitFactorsOf Bar Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Bar Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Bar Source # 
Instance details

Defined in Data.Units.US.Misc

data Torr Source #

Constructors

Torr 

Instances

Instances details
Show Torr Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Torr -> ShowS #

show :: Torr -> String #

showList :: [Torr] -> ShowS #

Unit Torr Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Torr #

type DimOfUnit Torr #

type UnitFactorsOf Torr :: [Factor Type] #

type UnitFactorsOf Torr Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Torr Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Torr Source # 
Instance details

Defined in Data.Units.US.Misc

data Calorie Source #

Constructors

Calorie 

Instances

Instances details
Show Calorie Source # 
Instance details

Defined in Data.Units.US.Misc

Unit Calorie Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Calorie #

type DimOfUnit Calorie #

type UnitFactorsOf Calorie :: [Factor Type] #

type UnitFactorsOf Calorie Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Calorie Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Calorie Source # 
Instance details

Defined in Data.Units.US.Misc

data Therm Source #

Constructors

Therm 

Instances

Instances details
Show Therm Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Therm -> ShowS #

show :: Therm -> String #

showList :: [Therm] -> ShowS #

Unit Therm Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Therm #

type DimOfUnit Therm #

type UnitFactorsOf Therm :: [Factor Type] #

type UnitFactorsOf Therm Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Therm Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Therm Source # 
Instance details

Defined in Data.Units.US.Misc

data Btu Source #

Constructors

Btu 

Instances

Instances details
Show Btu Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Btu -> ShowS #

show :: Btu -> String #

showList :: [Btu] -> ShowS #

Unit Btu Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Btu #

type DimOfUnit Btu #

type UnitFactorsOf Btu :: [Factor Type] #

type UnitFactorsOf Btu Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Btu Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Btu Source # 
Instance details

Defined in Data.Units.US.Misc

data Rankine Source #

Constructors

Rankine 

Instances

Instances details
Show Rankine Source # 
Instance details

Defined in Data.Units.US.Misc

Unit Rankine Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Rankine #

type DimOfUnit Rankine #

type UnitFactorsOf Rankine :: [Factor Type] #

type UnitFactorsOf Rankine Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Rankine Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Rankine Source # 
Instance details

Defined in Data.Units.US.Misc

data Slug Source #

Constructors

Slug 

Instances

Instances details
Show Slug Source # 
Instance details

Defined in Data.Units.US.Misc

Methods

showsPrec :: Int -> Slug -> ShowS #

show :: Slug -> String #

showList :: [Slug] -> ShowS #

Unit Slug Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Slug #

type DimOfUnit Slug #

type UnitFactorsOf Slug :: [Factor Type] #

type UnitFactorsOf Slug Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Slug Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Slug Source # 
Instance details

Defined in Data.Units.US.Misc

data Oersted Source #

Constructors

Oersted 

Instances

Instances details
Show Oersted Source # 
Instance details

Defined in Data.Units.US.Misc

Unit Oersted Source # 
Instance details

Defined in Data.Units.US.Misc

Associated Types

type BaseUnit Oersted #

type DimOfUnit Oersted #

type UnitFactorsOf Oersted :: [Factor Type] #

type UnitFactorsOf Oersted Source # 
Instance details

Defined in Data.Units.US.Misc

type DimOfUnit Oersted Source # 
Instance details

Defined in Data.Units.US.Misc

type BaseUnit Oersted Source # 
Instance details

Defined in Data.Units.US.Misc

lengths :: [Name] Source #

Standard lengths: Foot, Inch, Yard, and Mile

data Maxwell Source #

Constructors

Maxwell 

Instances

Instances details
Show Maxwell Source # 
Instance details

Defined in Data.Units.CGS

Unit Maxwell Source # 
Instance details

Defined in Data.Units.CGS

Associated Types

type BaseUnit Maxwell #

type DimOfUnit Maxwell #

type UnitFactorsOf Maxwell :: [Factor Type] #

type UnitFactorsOf Maxwell Source # 
Instance details

Defined in Data.Units.CGS

type DimOfUnit Maxwell Source # 
Instance details

Defined in Data.Units.CGS

type BaseUnit Maxwell Source # 
Instance details

Defined in Data.Units.CGS