Copyright | (C) 2013 Richard Eisenberg |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Richard Eisenberg (rae@cs.brynmawr.edu) |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
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
Instances
Show Knot Source # | |
Unit Knot Source # | |
Defined in Data.Units.Imperial.Misc conversionRatio :: Knot -> Rational # canonicalConvRatio :: Knot -> Rational | |
type UnitFactorsOf Knot Source # | |
Defined in Data.Units.Imperial.Misc | |
type DimOfUnit Knot Source # | |
type BaseUnit Knot Source # | |
Defined in Data.Units.Imperial.Misc |
data InchOfWater Source #
Instances
Show InchOfWater Source # | |
Defined in Data.Units.Imperial.Misc showsPrec :: Int -> InchOfWater -> ShowS # show :: InchOfWater -> String # showList :: [InchOfWater] -> ShowS # | |
Unit InchOfWater Source # | |
Defined in Data.Units.Imperial.Misc type BaseUnit InchOfWater # type DimOfUnit InchOfWater # type UnitFactorsOf InchOfWater :: [Factor Type] # | |
type UnitFactorsOf InchOfWater Source # | |
Defined in Data.Units.Imperial.Misc type UnitFactorsOf InchOfWater = If (IsCanonical InchOfWater) '['F InchOfWater One] (UnitFactorsOf (BaseUnit InchOfWater)) | |
type DimOfUnit InchOfWater Source # | |
Defined in Data.Units.Imperial.Misc | |
type BaseUnit InchOfWater Source # | |
Defined in Data.Units.Imperial.Misc |
data PoundForce Source #
Instances
Show PoundForce Source # | |
Defined in Data.Units.Imperial.Misc showsPrec :: Int -> PoundForce -> ShowS # show :: PoundForce -> String # showList :: [PoundForce] -> ShowS # | |
Unit PoundForce Source # | |
Defined in Data.Units.Imperial.Misc type BaseUnit PoundForce # type DimOfUnit PoundForce # type UnitFactorsOf PoundForce :: [Factor Type] # | |
type UnitFactorsOf PoundForce Source # | |
Defined in Data.Units.Imperial.Misc type UnitFactorsOf PoundForce = If (IsCanonical PoundForce) '['F PoundForce One] (UnitFactorsOf (BaseUnit PoundForce)) | |
type DimOfUnit PoundForce Source # | |
Defined in Data.Units.Imperial.Misc | |
type BaseUnit PoundForce Source # | |
Defined in Data.Units.Imperial.Misc |
Instances
Show TonForce Source # | |
Unit TonForce Source # | |
Defined in Data.Units.Imperial.Misc conversionRatio :: TonForce -> Rational # | |
type UnitFactorsOf TonForce Source # | |
Defined in Data.Units.Imperial.Misc type UnitFactorsOf TonForce = If (IsCanonical TonForce) '['F TonForce One] (UnitFactorsOf (BaseUnit TonForce)) | |
type DimOfUnit TonForce Source # | |
type BaseUnit TonForce Source # | |
Defined in Data.Units.Imperial.Misc |
data Horsepower Source #
Instances
Show Horsepower Source # | |
Defined in Data.Units.Imperial.Misc showsPrec :: Int -> Horsepower -> ShowS # show :: Horsepower -> String # showList :: [Horsepower] -> ShowS # | |
Unit Horsepower Source # | |
Defined in Data.Units.Imperial.Misc type BaseUnit Horsepower # type DimOfUnit Horsepower # type UnitFactorsOf Horsepower :: [Factor Type] # | |
type UnitFactorsOf Horsepower Source # | |
Defined in Data.Units.Imperial.Misc type UnitFactorsOf Horsepower = If (IsCanonical Horsepower) '['F Horsepower One] (UnitFactorsOf (BaseUnit Horsepower)) | |
type DimOfUnit Horsepower Source # | |
Defined in Data.Units.Imperial.Misc | |
type BaseUnit Horsepower Source # | |
Defined in Data.Units.Imperial.Misc |
data FootPoundForce Source #
Instances
Show FootPoundForce Source # | |
Defined in Data.Units.Imperial.Misc showsPrec :: Int -> FootPoundForce -> ShowS # show :: FootPoundForce -> String # showList :: [FootPoundForce] -> ShowS # | |
Unit FootPoundForce Source # | |
Defined in Data.Units.Imperial.Misc type BaseUnit FootPoundForce # type DimOfUnit FootPoundForce # type UnitFactorsOf FootPoundForce :: [Factor Type] # | |
type UnitFactorsOf FootPoundForce Source # | |
Defined in Data.Units.Imperial.Misc type UnitFactorsOf FootPoundForce = If (IsCanonical FootPoundForce) '['F FootPoundForce One] (UnitFactorsOf (BaseUnit FootPoundForce)) | |
type DimOfUnit FootPoundForce Source # | |
Defined in Data.Units.Imperial.Misc | |
type BaseUnit FootPoundForce Source # | |
Defined in Data.Units.Imperial.Misc |
data BritishThermalUnit Source #
Instances
Show BritishThermalUnit Source # | |
Defined in Data.Units.Imperial.Misc showsPrec :: Int -> BritishThermalUnit -> ShowS # show :: BritishThermalUnit -> String # showList :: [BritishThermalUnit] -> ShowS # | |
Unit BritishThermalUnit Source # | |
Defined in Data.Units.Imperial.Misc type BaseUnit BritishThermalUnit # type DimOfUnit BritishThermalUnit # type UnitFactorsOf BritishThermalUnit :: [Factor Type] # | |
type UnitFactorsOf BritishThermalUnit Source # | |
Defined in Data.Units.Imperial.Misc | |
type DimOfUnit BritishThermalUnit Source # | |
Defined in Data.Units.Imperial.Misc | |
type BaseUnit BritishThermalUnit Source # | |
Defined in Data.Units.Imperial.Misc |
Instances
Show Therm Source # | |
Unit Therm Source # | |
Defined in Data.Units.Imperial.Misc conversionRatio :: Therm -> Rational # canonicalConvRatio :: Therm -> Rational | |
type UnitFactorsOf Therm Source # | |
Defined in Data.Units.Imperial.Misc | |
type DimOfUnit Therm Source # | |
type BaseUnit Therm Source # | |
Defined in Data.Units.Imperial.Misc |
data FootCandle Source #
Instances
Show FootCandle Source # | |
Defined in Data.Units.Imperial.Misc showsPrec :: Int -> FootCandle -> ShowS # show :: FootCandle -> String # showList :: [FootCandle] -> ShowS # | |
Unit FootCandle Source # | |
Defined in Data.Units.Imperial.Misc type BaseUnit FootCandle # type DimOfUnit FootCandle # type UnitFactorsOf FootCandle :: [Factor Type] # | |
type UnitFactorsOf FootCandle Source # | |
Defined in Data.Units.Imperial.Misc type UnitFactorsOf FootCandle = If (IsCanonical FootCandle) '['F FootCandle One] (UnitFactorsOf (BaseUnit FootCandle)) | |
type DimOfUnit FootCandle Source # | |
Defined in Data.Units.Imperial.Misc | |
type BaseUnit FootCandle Source # | |
Defined in Data.Units.Imperial.Misc |
data Fahrenheit Source #
Instances
Show Fahrenheit Source # | |
Defined in Data.Units.Imperial.Misc showsPrec :: Int -> Fahrenheit -> ShowS # show :: Fahrenheit -> String # showList :: [Fahrenheit] -> ShowS # | |
Unit Fahrenheit Source # | |
Defined in Data.Units.Imperial.Misc type BaseUnit Fahrenheit # type DimOfUnit Fahrenheit # type UnitFactorsOf Fahrenheit :: [Factor Type] # | |
type UnitFactorsOf Fahrenheit Source # | |
Defined in Data.Units.Imperial.Misc type UnitFactorsOf Fahrenheit = If (IsCanonical Fahrenheit) '['F Fahrenheit One] (UnitFactorsOf (BaseUnit Fahrenheit)) | |
type DimOfUnit Fahrenheit Source # | |
Defined in Data.Units.Imperial.Misc | |
type BaseUnit Fahrenheit Source # | |
Defined in Data.Units.Imperial.Misc |
temperatures :: [Name] Source #
Temperature units: Fahrenheit
illuminances :: [Name] Source #
Illuminance units: FootCandle
Energy units: FootPoundForce
, BritishThermalUnit
and Therm
Power units: Horsepower