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 |
As per current UK legislation, the nautical mile is defined as 1853 m, not 1852 (as it was previously).
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 NauticalMile = NauticalMile
- data Cable = Cable
- data Fathom = Fathom
- nauticalLengths :: [Name]
Documentation
data NauticalMile Source #
Instances
Show NauticalMile Source # | |
Defined in Data.Units.Imperial.Nautical showsPrec :: Int -> NauticalMile -> ShowS # show :: NauticalMile -> String # showList :: [NauticalMile] -> ShowS # | |
Unit NauticalMile Source # | |
Defined in Data.Units.Imperial.Nautical type BaseUnit NauticalMile # type DimOfUnit NauticalMile # type UnitFactorsOf NauticalMile :: [Factor Type] # | |
type UnitFactorsOf NauticalMile Source # | |
Defined in Data.Units.Imperial.Nautical type UnitFactorsOf NauticalMile = If (IsCanonical NauticalMile) '['F NauticalMile One] (UnitFactorsOf (BaseUnit NauticalMile)) | |
type DimOfUnit NauticalMile Source # | |
Defined in Data.Units.Imperial.Nautical | |
type BaseUnit NauticalMile Source # | |
Defined in Data.Units.Imperial.Nautical |
Instances
Show Cable Source # | |
Unit Cable Source # | |
Defined in Data.Units.Imperial.Nautical conversionRatio :: Cable -> Rational # canonicalConvRatio :: Cable -> Rational | |
type UnitFactorsOf Cable Source # | |
Defined in Data.Units.Imperial.Nautical | |
type DimOfUnit Cable Source # | |
type BaseUnit Cable Source # | |
Defined in Data.Units.Imperial.Nautical |
Instances
Show Fathom Source # | |
Unit Fathom Source # | |
Defined in Data.Units.Imperial.Nautical conversionRatio :: Fathom -> Rational # canonicalConvRatio :: Fathom -> Rational | |
type UnitFactorsOf Fathom Source # | |
Defined in Data.Units.Imperial.Nautical type UnitFactorsOf Fathom = If (IsCanonical Fathom) '['F Fathom One] (UnitFactorsOf (BaseUnit Fathom)) | |
type DimOfUnit Fathom Source # | |
type BaseUnit Fathom Source # | |
Defined in Data.Units.Imperial.Nautical |
nauticalLengths :: [Name] Source #
Nautical lengths: All units above