Copyright | (C) 2013 Richard Eisenberg |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Richard Eisenberg ([email protected]) |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Data.Units.Imperial.Misc
Description
Miscellaneous units not easily put in another module.
Where possible, reference have been made to UK legislation. However, Wikipedia's page is much better organized than any government resource immediately available.
The UK legislation used as references are as follows: http://www.legislation.gov.uk/ukpga/1985/72/enacted http://www.legislation.gov.uk/uksi/1994/2867/schedule/part/VI/made http://www.legislation.gov.uk/uksi/1995/1804/schedule/made
Synopsis
- data Knot = Knot
- data InchOfWater = InchOfWater
- data PoundForce = PoundForce
- data TonForce = TonForce
- data Horsepower = Horsepower
- data FootPoundForce = FootPoundForce
- data BritishThermalUnit = BritishThermalUnit
- data Therm = Therm
- data FootCandle = FootCandle
- data Fahrenheit = Fahrenheit
- speeds :: [Name]
- temperatures :: [Name]
- illuminances :: [Name]
- forces :: [Name]
- energies :: [Name]
- powers :: [Name]
Documentation
Constructors
Knot |
Instances
Show Knot Source # | |||||||||||||
Unit Knot Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Associated Types
| |||||||||||||
type BaseUnit Knot Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type DimOfUnit Knot Source # | |||||||||||||
type UnitFactorsOf Knot Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc |
data InchOfWater Source #
Constructors
InchOfWater |
Instances
Show InchOfWater Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Methods showsPrec :: Int -> InchOfWater -> ShowS # show :: InchOfWater -> String # showList :: [InchOfWater] -> ShowS # | |||||||||||||
Unit InchOfWater Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Associated Types
| |||||||||||||
type BaseUnit InchOfWater Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type DimOfUnit InchOfWater Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type UnitFactorsOf InchOfWater Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc type UnitFactorsOf InchOfWater = If (IsCanonical InchOfWater) '['F InchOfWater One] (UnitFactorsOf (BaseUnit InchOfWater)) |
data PoundForce Source #
Constructors
PoundForce |
Instances
Show PoundForce Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Methods showsPrec :: Int -> PoundForce -> ShowS # show :: PoundForce -> String # showList :: [PoundForce] -> ShowS # | |||||||||||||
Unit PoundForce Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Associated Types
| |||||||||||||
type BaseUnit PoundForce Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type DimOfUnit PoundForce Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type UnitFactorsOf PoundForce Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc type UnitFactorsOf PoundForce = If (IsCanonical PoundForce) '['F PoundForce One] (UnitFactorsOf (BaseUnit PoundForce)) |
Constructors
TonForce |
Instances
Show TonForce Source # | |||||||||||||
Unit TonForce Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Associated Types
| |||||||||||||
type BaseUnit TonForce Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type DimOfUnit TonForce Source # | |||||||||||||
type UnitFactorsOf TonForce Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc type UnitFactorsOf TonForce = If (IsCanonical TonForce) '['F TonForce One] (UnitFactorsOf (BaseUnit TonForce)) |
data Horsepower Source #
Constructors
Horsepower |
Instances
Show Horsepower Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Methods showsPrec :: Int -> Horsepower -> ShowS # show :: Horsepower -> String # showList :: [Horsepower] -> ShowS # | |||||||||||||
Unit Horsepower Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Associated Types
| |||||||||||||
type BaseUnit Horsepower Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type DimOfUnit Horsepower Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type UnitFactorsOf Horsepower Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc type UnitFactorsOf Horsepower = If (IsCanonical Horsepower) '['F Horsepower One] (UnitFactorsOf (BaseUnit Horsepower)) |
data FootPoundForce Source #
Constructors
FootPoundForce |
Instances
Show FootPoundForce Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Methods showsPrec :: Int -> FootPoundForce -> ShowS # show :: FootPoundForce -> String # showList :: [FootPoundForce] -> ShowS # | |||||||||||||
Unit FootPoundForce Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Associated Types
Methods | |||||||||||||
type BaseUnit FootPoundForce Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type DimOfUnit FootPoundForce Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type UnitFactorsOf FootPoundForce Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc type UnitFactorsOf FootPoundForce = If (IsCanonical FootPoundForce) '['F FootPoundForce One] (UnitFactorsOf (BaseUnit FootPoundForce)) |
data BritishThermalUnit Source #
Constructors
BritishThermalUnit |
Instances
Show BritishThermalUnit Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Methods showsPrec :: Int -> BritishThermalUnit -> ShowS # show :: BritishThermalUnit -> String # showList :: [BritishThermalUnit] -> ShowS # | |||||||||||||
Unit BritishThermalUnit Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Associated Types
Methods | |||||||||||||
type BaseUnit BritishThermalUnit Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type DimOfUnit BritishThermalUnit Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type UnitFactorsOf BritishThermalUnit Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc |
Constructors
Therm |
Instances
Show Therm Source # | |||||||||||||
Unit Therm Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Associated Types
| |||||||||||||
type BaseUnit Therm Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type DimOfUnit Therm Source # | |||||||||||||
type UnitFactorsOf Therm Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc |
data FootCandle Source #
Constructors
FootCandle |
Instances
Show FootCandle Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Methods showsPrec :: Int -> FootCandle -> ShowS # show :: FootCandle -> String # showList :: [FootCandle] -> ShowS # | |||||||||||||
Unit FootCandle Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Associated Types
| |||||||||||||
type BaseUnit FootCandle Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type DimOfUnit FootCandle Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type UnitFactorsOf FootCandle Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc type UnitFactorsOf FootCandle = If (IsCanonical FootCandle) '['F FootCandle One] (UnitFactorsOf (BaseUnit FootCandle)) |
data Fahrenheit Source #
Constructors
Fahrenheit |
Instances
Show Fahrenheit Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Methods showsPrec :: Int -> Fahrenheit -> ShowS # show :: Fahrenheit -> String # showList :: [Fahrenheit] -> ShowS # | |||||||||||||
Unit Fahrenheit Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc Associated Types
| |||||||||||||
type BaseUnit Fahrenheit Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type DimOfUnit Fahrenheit Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc | |||||||||||||
type UnitFactorsOf Fahrenheit Source # | |||||||||||||
Defined in Data.Units.Imperial.Misc type UnitFactorsOf Fahrenheit = If (IsCanonical Fahrenheit) '['F Fahrenheit One] (UnitFactorsOf (BaseUnit Fahrenheit)) |
temperatures :: [Name] Source #
Temperature units: Fahrenheit
illuminances :: [Name] Source #
Illuminance units: FootCandle
Energy units: FootPoundForce
, BritishThermalUnit
and Therm
Power units: Horsepower