convert-units-0.1: Statically typed unit conversions
Safe HaskellNone
LanguageGHC2024

Data.Units.Imperial.Length

Synopsis

Documentation

newtype Twip a Source #

Length in twips.

Constructors

Twip a 

Instances

Instances details
IsUnit Twip Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf Twip 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit Twip Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType Twip 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Twip = 'Text "twip"
Fractional a => ConversionFactor Twip a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit Twip a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (Twip a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

pi :: Twip a #

exp :: Twip a -> Twip a #

log :: Twip a -> Twip a #

sqrt :: Twip a -> Twip a #

(**) :: Twip a -> Twip a -> Twip a #

logBase :: Twip a -> Twip a -> Twip a #

sin :: Twip a -> Twip a #

cos :: Twip a -> Twip a #

tan :: Twip a -> Twip a #

asin :: Twip a -> Twip a #

acos :: Twip a -> Twip a #

atan :: Twip a -> Twip a #

sinh :: Twip a -> Twip a #

cosh :: Twip a -> Twip a #

tanh :: Twip a -> Twip a #

asinh :: Twip a -> Twip a #

acosh :: Twip a -> Twip a #

atanh :: Twip a -> Twip a #

log1p :: Twip a -> Twip a #

expm1 :: Twip a -> Twip a #

log1pexp :: Twip a -> Twip a #

log1mexp :: Twip a -> Twip a #

RealFloat a => RealFloat (Twip a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Num a => Num (Twip a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(+) :: Twip a -> Twip a -> Twip a #

(-) :: Twip a -> Twip a -> Twip a #

(*) :: Twip a -> Twip a -> Twip a #

negate :: Twip a -> Twip a #

abs :: Twip a -> Twip a #

signum :: Twip a -> Twip a #

fromInteger :: Integer -> Twip a #

Fractional a => Fractional (Twip a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(/) :: Twip a -> Twip a -> Twip a #

recip :: Twip a -> Twip a #

fromRational :: Rational -> Twip a #

Real a => Real (Twip a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

toRational :: Twip a -> Rational #

RealFrac a => RealFrac (Twip a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

properFraction :: Integral b => Twip a -> (b, Twip a) #

truncate :: Integral b => Twip a -> b #

round :: Integral b => Twip a -> b #

ceiling :: Integral b => Twip a -> b #

floor :: Integral b => Twip a -> b #

Show a => Show (Twip a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Twip a -> ShowS #

show :: Twip a -> String #

showList :: [Twip a] -> ShowS #

Eq a => Eq (Twip a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(==) :: Twip a -> Twip a -> Bool #

(/=) :: Twip a -> Twip a -> Bool #

Ord a => Ord (Twip a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

compare :: Twip a -> Twip a -> Ordering #

(<) :: Twip a -> Twip a -> Bool #

(<=) :: Twip a -> Twip a -> Bool #

(>) :: Twip a -> Twip a -> Bool #

(>=) :: Twip a -> Twip a -> Bool #

max :: Twip a -> Twip a -> Twip a #

min :: Twip a -> Twip a -> Twip a #

type DimOf Twip Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Twip Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Twip = 'Text "twip"

newtype Thou a Source #

Length in thous.

Constructors

Thou a 

Instances

Instances details
IsUnit Thou Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf Thou 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit Thou Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType Thou 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Thou = 'Text "th"
Fractional a => ConversionFactor Thou a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit Thou a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (Thou a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

pi :: Thou a #

exp :: Thou a -> Thou a #

log :: Thou a -> Thou a #

sqrt :: Thou a -> Thou a #

(**) :: Thou a -> Thou a -> Thou a #

logBase :: Thou a -> Thou a -> Thou a #

sin :: Thou a -> Thou a #

cos :: Thou a -> Thou a #

tan :: Thou a -> Thou a #

asin :: Thou a -> Thou a #

acos :: Thou a -> Thou a #

atan :: Thou a -> Thou a #

sinh :: Thou a -> Thou a #

cosh :: Thou a -> Thou a #

tanh :: Thou a -> Thou a #

asinh :: Thou a -> Thou a #

acosh :: Thou a -> Thou a #

atanh :: Thou a -> Thou a #

log1p :: Thou a -> Thou a #

expm1 :: Thou a -> Thou a #

log1pexp :: Thou a -> Thou a #

log1mexp :: Thou a -> Thou a #

RealFloat a => RealFloat (Thou a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Num a => Num (Thou a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(+) :: Thou a -> Thou a -> Thou a #

(-) :: Thou a -> Thou a -> Thou a #

(*) :: Thou a -> Thou a -> Thou a #

negate :: Thou a -> Thou a #

abs :: Thou a -> Thou a #

signum :: Thou a -> Thou a #

fromInteger :: Integer -> Thou a #

Fractional a => Fractional (Thou a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(/) :: Thou a -> Thou a -> Thou a #

recip :: Thou a -> Thou a #

fromRational :: Rational -> Thou a #

Real a => Real (Thou a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

toRational :: Thou a -> Rational #

RealFrac a => RealFrac (Thou a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

properFraction :: Integral b => Thou a -> (b, Thou a) #

truncate :: Integral b => Thou a -> b #

round :: Integral b => Thou a -> b #

ceiling :: Integral b => Thou a -> b #

floor :: Integral b => Thou a -> b #

Show a => Show (Thou a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Thou a -> ShowS #

show :: Thou a -> String #

showList :: [Thou a] -> ShowS #

Eq a => Eq (Thou a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(==) :: Thou a -> Thou a -> Bool #

(/=) :: Thou a -> Thou a -> Bool #

Ord a => Ord (Thou a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

compare :: Thou a -> Thou a -> Ordering #

(<) :: Thou a -> Thou a -> Bool #

(<=) :: Thou a -> Thou a -> Bool #

(>) :: Thou a -> Thou a -> Bool #

(>=) :: Thou a -> Thou a -> Bool #

max :: Thou a -> Thou a -> Thou a #

min :: Thou a -> Thou a -> Thou a #

type DimOf Thou Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Thou Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Thou = 'Text "th"

newtype Barleycorn a Source #

Length in barleycorns.

Constructors

Barleycorn a 

Instances

Instances details
IsUnit Barleycorn Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf Barleycorn 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit Barleycorn Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType Barleycorn 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Barleycorn = 'Text "barleycorn"
Fractional a => ConversionFactor Barleycorn a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit Barleycorn a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (Barleycorn a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

RealFloat a => RealFloat (Barleycorn a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Num a => Num (Barleycorn a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Fractional a => Fractional (Barleycorn a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Real a => Real (Barleycorn a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

RealFrac a => RealFrac (Barleycorn a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

properFraction :: Integral b => Barleycorn a -> (b, Barleycorn a) #

truncate :: Integral b => Barleycorn a -> b #

round :: Integral b => Barleycorn a -> b #

ceiling :: Integral b => Barleycorn a -> b #

floor :: Integral b => Barleycorn a -> b #

Show a => Show (Barleycorn a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Eq a => Eq (Barleycorn a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(==) :: Barleycorn a -> Barleycorn a -> Bool #

(/=) :: Barleycorn a -> Barleycorn a -> Bool #

Ord a => Ord (Barleycorn a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

type DimOf Barleycorn Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Barleycorn Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Barleycorn = 'Text "barleycorn"

newtype Inch a Source #

Length in inches.

Constructors

Inch a 

Instances

Instances details
IsUnit Inch Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf Inch 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit Inch Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType Inch 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Inch = 'Text "in"
Fractional a => ConversionFactor Inch a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit Inch a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (Inch a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

pi :: Inch a #

exp :: Inch a -> Inch a #

log :: Inch a -> Inch a #

sqrt :: Inch a -> Inch a #

(**) :: Inch a -> Inch a -> Inch a #

logBase :: Inch a -> Inch a -> Inch a #

sin :: Inch a -> Inch a #

cos :: Inch a -> Inch a #

tan :: Inch a -> Inch a #

asin :: Inch a -> Inch a #

acos :: Inch a -> Inch a #

atan :: Inch a -> Inch a #

sinh :: Inch a -> Inch a #

cosh :: Inch a -> Inch a #

tanh :: Inch a -> Inch a #

asinh :: Inch a -> Inch a #

acosh :: Inch a -> Inch a #

atanh :: Inch a -> Inch a #

log1p :: Inch a -> Inch a #

expm1 :: Inch a -> Inch a #

log1pexp :: Inch a -> Inch a #

log1mexp :: Inch a -> Inch a #

RealFloat a => RealFloat (Inch a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Num a => Num (Inch a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(+) :: Inch a -> Inch a -> Inch a #

(-) :: Inch a -> Inch a -> Inch a #

(*) :: Inch a -> Inch a -> Inch a #

negate :: Inch a -> Inch a #

abs :: Inch a -> Inch a #

signum :: Inch a -> Inch a #

fromInteger :: Integer -> Inch a #

Fractional a => Fractional (Inch a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(/) :: Inch a -> Inch a -> Inch a #

recip :: Inch a -> Inch a #

fromRational :: Rational -> Inch a #

Real a => Real (Inch a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

toRational :: Inch a -> Rational #

RealFrac a => RealFrac (Inch a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

properFraction :: Integral b => Inch a -> (b, Inch a) #

truncate :: Integral b => Inch a -> b #

round :: Integral b => Inch a -> b #

ceiling :: Integral b => Inch a -> b #

floor :: Integral b => Inch a -> b #

Show a => Show (Inch a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Inch a -> ShowS #

show :: Inch a -> String #

showList :: [Inch a] -> ShowS #

Eq a => Eq (Inch a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(==) :: Inch a -> Inch a -> Bool #

(/=) :: Inch a -> Inch a -> Bool #

Ord a => Ord (Inch a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

compare :: Inch a -> Inch a -> Ordering #

(<) :: Inch a -> Inch a -> Bool #

(<=) :: Inch a -> Inch a -> Bool #

(>) :: Inch a -> Inch a -> Bool #

(>=) :: Inch a -> Inch a -> Bool #

max :: Inch a -> Inch a -> Inch a #

min :: Inch a -> Inch a -> Inch a #

type DimOf Inch Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Inch Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Inch = 'Text "in"

newtype Hand a Source #

Length in hands.

Constructors

Hand a 

Instances

Instances details
IsUnit Hand Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf Hand 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit Hand Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType Hand 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Hand = 'Text "hh"
Fractional a => ConversionFactor Hand a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit Hand a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (Hand a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

pi :: Hand a #

exp :: Hand a -> Hand a #

log :: Hand a -> Hand a #

sqrt :: Hand a -> Hand a #

(**) :: Hand a -> Hand a -> Hand a #

logBase :: Hand a -> Hand a -> Hand a #

sin :: Hand a -> Hand a #

cos :: Hand a -> Hand a #

tan :: Hand a -> Hand a #

asin :: Hand a -> Hand a #

acos :: Hand a -> Hand a #

atan :: Hand a -> Hand a #

sinh :: Hand a -> Hand a #

cosh :: Hand a -> Hand a #

tanh :: Hand a -> Hand a #

asinh :: Hand a -> Hand a #

acosh :: Hand a -> Hand a #

atanh :: Hand a -> Hand a #

log1p :: Hand a -> Hand a #

expm1 :: Hand a -> Hand a #

log1pexp :: Hand a -> Hand a #

log1mexp :: Hand a -> Hand a #

RealFloat a => RealFloat (Hand a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Num a => Num (Hand a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(+) :: Hand a -> Hand a -> Hand a #

(-) :: Hand a -> Hand a -> Hand a #

(*) :: Hand a -> Hand a -> Hand a #

negate :: Hand a -> Hand a #

abs :: Hand a -> Hand a #

signum :: Hand a -> Hand a #

fromInteger :: Integer -> Hand a #

Fractional a => Fractional (Hand a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(/) :: Hand a -> Hand a -> Hand a #

recip :: Hand a -> Hand a #

fromRational :: Rational -> Hand a #

Real a => Real (Hand a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

toRational :: Hand a -> Rational #

RealFrac a => RealFrac (Hand a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

properFraction :: Integral b => Hand a -> (b, Hand a) #

truncate :: Integral b => Hand a -> b #

round :: Integral b => Hand a -> b #

ceiling :: Integral b => Hand a -> b #

floor :: Integral b => Hand a -> b #

Show a => Show (Hand a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Hand a -> ShowS #

show :: Hand a -> String #

showList :: [Hand a] -> ShowS #

Eq a => Eq (Hand a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(==) :: Hand a -> Hand a -> Bool #

(/=) :: Hand a -> Hand a -> Bool #

Ord a => Ord (Hand a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

compare :: Hand a -> Hand a -> Ordering #

(<) :: Hand a -> Hand a -> Bool #

(<=) :: Hand a -> Hand a -> Bool #

(>) :: Hand a -> Hand a -> Bool #

(>=) :: Hand a -> Hand a -> Bool #

max :: Hand a -> Hand a -> Hand a #

min :: Hand a -> Hand a -> Hand a #

type DimOf Hand Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Hand Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Hand = 'Text "hh"

newtype Foot a Source #

Length in feet.

Constructors

Foot a 

Instances

Instances details
IsUnit Foot Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf Foot 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit Foot Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType Foot 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Foot = 'Text "ft"
Fractional a => ConversionFactor Foot a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit Foot a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (Foot a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

pi :: Foot a #

exp :: Foot a -> Foot a #

log :: Foot a -> Foot a #

sqrt :: Foot a -> Foot a #

(**) :: Foot a -> Foot a -> Foot a #

logBase :: Foot a -> Foot a -> Foot a #

sin :: Foot a -> Foot a #

cos :: Foot a -> Foot a #

tan :: Foot a -> Foot a #

asin :: Foot a -> Foot a #

acos :: Foot a -> Foot a #

atan :: Foot a -> Foot a #

sinh :: Foot a -> Foot a #

cosh :: Foot a -> Foot a #

tanh :: Foot a -> Foot a #

asinh :: Foot a -> Foot a #

acosh :: Foot a -> Foot a #

atanh :: Foot a -> Foot a #

log1p :: Foot a -> Foot a #

expm1 :: Foot a -> Foot a #

log1pexp :: Foot a -> Foot a #

log1mexp :: Foot a -> Foot a #

RealFloat a => RealFloat (Foot a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Num a => Num (Foot a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(+) :: Foot a -> Foot a -> Foot a #

(-) :: Foot a -> Foot a -> Foot a #

(*) :: Foot a -> Foot a -> Foot a #

negate :: Foot a -> Foot a #

abs :: Foot a -> Foot a #

signum :: Foot a -> Foot a #

fromInteger :: Integer -> Foot a #

Fractional a => Fractional (Foot a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(/) :: Foot a -> Foot a -> Foot a #

recip :: Foot a -> Foot a #

fromRational :: Rational -> Foot a #

Real a => Real (Foot a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

toRational :: Foot a -> Rational #

RealFrac a => RealFrac (Foot a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

properFraction :: Integral b => Foot a -> (b, Foot a) #

truncate :: Integral b => Foot a -> b #

round :: Integral b => Foot a -> b #

ceiling :: Integral b => Foot a -> b #

floor :: Integral b => Foot a -> b #

Show a => Show (Foot a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Foot a -> ShowS #

show :: Foot a -> String #

showList :: [Foot a] -> ShowS #

Eq a => Eq (Foot a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(==) :: Foot a -> Foot a -> Bool #

(/=) :: Foot a -> Foot a -> Bool #

Ord a => Ord (Foot a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

compare :: Foot a -> Foot a -> Ordering #

(<) :: Foot a -> Foot a -> Bool #

(<=) :: Foot a -> Foot a -> Bool #

(>) :: Foot a -> Foot a -> Bool #

(>=) :: Foot a -> Foot a -> Bool #

max :: Foot a -> Foot a -> Foot a #

min :: Foot a -> Foot a -> Foot a #

type DimOf Foot Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Foot Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Foot = 'Text "ft"

newtype Yard a Source #

Length in yards.

Constructors

Yard a 

Instances

Instances details
IsUnit Yard Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf Yard 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit Yard Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType Yard 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Yard = 'Text "yd"
Fractional a => ConversionFactor Yard a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit Yard a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (Yard a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

pi :: Yard a #

exp :: Yard a -> Yard a #

log :: Yard a -> Yard a #

sqrt :: Yard a -> Yard a #

(**) :: Yard a -> Yard a -> Yard a #

logBase :: Yard a -> Yard a -> Yard a #

sin :: Yard a -> Yard a #

cos :: Yard a -> Yard a #

tan :: Yard a -> Yard a #

asin :: Yard a -> Yard a #

acos :: Yard a -> Yard a #

atan :: Yard a -> Yard a #

sinh :: Yard a -> Yard a #

cosh :: Yard a -> Yard a #

tanh :: Yard a -> Yard a #

asinh :: Yard a -> Yard a #

acosh :: Yard a -> Yard a #

atanh :: Yard a -> Yard a #

log1p :: Yard a -> Yard a #

expm1 :: Yard a -> Yard a #

log1pexp :: Yard a -> Yard a #

log1mexp :: Yard a -> Yard a #

RealFloat a => RealFloat (Yard a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Num a => Num (Yard a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(+) :: Yard a -> Yard a -> Yard a #

(-) :: Yard a -> Yard a -> Yard a #

(*) :: Yard a -> Yard a -> Yard a #

negate :: Yard a -> Yard a #

abs :: Yard a -> Yard a #

signum :: Yard a -> Yard a #

fromInteger :: Integer -> Yard a #

Fractional a => Fractional (Yard a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(/) :: Yard a -> Yard a -> Yard a #

recip :: Yard a -> Yard a #

fromRational :: Rational -> Yard a #

Real a => Real (Yard a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

toRational :: Yard a -> Rational #

RealFrac a => RealFrac (Yard a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

properFraction :: Integral b => Yard a -> (b, Yard a) #

truncate :: Integral b => Yard a -> b #

round :: Integral b => Yard a -> b #

ceiling :: Integral b => Yard a -> b #

floor :: Integral b => Yard a -> b #

Show a => Show (Yard a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Yard a -> ShowS #

show :: Yard a -> String #

showList :: [Yard a] -> ShowS #

Eq a => Eq (Yard a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(==) :: Yard a -> Yard a -> Bool #

(/=) :: Yard a -> Yard a -> Bool #

Ord a => Ord (Yard a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

compare :: Yard a -> Yard a -> Ordering #

(<) :: Yard a -> Yard a -> Bool #

(<=) :: Yard a -> Yard a -> Bool #

(>) :: Yard a -> Yard a -> Bool #

(>=) :: Yard a -> Yard a -> Bool #

max :: Yard a -> Yard a -> Yard a #

min :: Yard a -> Yard a -> Yard a #

type DimOf Yard Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Yard Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Yard = 'Text "yd"

newtype Chain a Source #

Length in chains.

Constructors

Chain a 

Instances

Instances details
IsUnit Chain Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf Chain 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit Chain Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType Chain 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Chain = 'Text "ch"
Fractional a => ConversionFactor Chain a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit Chain a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (Chain a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

pi :: Chain a #

exp :: Chain a -> Chain a #

log :: Chain a -> Chain a #

sqrt :: Chain a -> Chain a #

(**) :: Chain a -> Chain a -> Chain a #

logBase :: Chain a -> Chain a -> Chain a #

sin :: Chain a -> Chain a #

cos :: Chain a -> Chain a #

tan :: Chain a -> Chain a #

asin :: Chain a -> Chain a #

acos :: Chain a -> Chain a #

atan :: Chain a -> Chain a #

sinh :: Chain a -> Chain a #

cosh :: Chain a -> Chain a #

tanh :: Chain a -> Chain a #

asinh :: Chain a -> Chain a #

acosh :: Chain a -> Chain a #

atanh :: Chain a -> Chain a #

log1p :: Chain a -> Chain a #

expm1 :: Chain a -> Chain a #

log1pexp :: Chain a -> Chain a #

log1mexp :: Chain a -> Chain a #

RealFloat a => RealFloat (Chain a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Num a => Num (Chain a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(+) :: Chain a -> Chain a -> Chain a #

(-) :: Chain a -> Chain a -> Chain a #

(*) :: Chain a -> Chain a -> Chain a #

negate :: Chain a -> Chain a #

abs :: Chain a -> Chain a #

signum :: Chain a -> Chain a #

fromInteger :: Integer -> Chain a #

Fractional a => Fractional (Chain a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(/) :: Chain a -> Chain a -> Chain a #

recip :: Chain a -> Chain a #

fromRational :: Rational -> Chain a #

Real a => Real (Chain a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

toRational :: Chain a -> Rational #

RealFrac a => RealFrac (Chain a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

properFraction :: Integral b => Chain a -> (b, Chain a) #

truncate :: Integral b => Chain a -> b #

round :: Integral b => Chain a -> b #

ceiling :: Integral b => Chain a -> b #

floor :: Integral b => Chain a -> b #

Show a => Show (Chain a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Chain a -> ShowS #

show :: Chain a -> String #

showList :: [Chain a] -> ShowS #

Eq a => Eq (Chain a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(==) :: Chain a -> Chain a -> Bool #

(/=) :: Chain a -> Chain a -> Bool #

Ord a => Ord (Chain a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

compare :: Chain a -> Chain a -> Ordering #

(<) :: Chain a -> Chain a -> Bool #

(<=) :: Chain a -> Chain a -> Bool #

(>) :: Chain a -> Chain a -> Bool #

(>=) :: Chain a -> Chain a -> Bool #

max :: Chain a -> Chain a -> Chain a #

min :: Chain a -> Chain a -> Chain a #

type DimOf Chain Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Chain Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Chain = 'Text "ch"

newtype Furlong a Source #

Length in furlongs.

Constructors

Furlong a 

Instances

Instances details
IsUnit Furlong Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf Furlong 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit Furlong Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType Furlong 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Furlong = 'Text "fur"
Fractional a => ConversionFactor Furlong a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit Furlong a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (Furlong a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

pi :: Furlong a #

exp :: Furlong a -> Furlong a #

log :: Furlong a -> Furlong a #

sqrt :: Furlong a -> Furlong a #

(**) :: Furlong a -> Furlong a -> Furlong a #

logBase :: Furlong a -> Furlong a -> Furlong a #

sin :: Furlong a -> Furlong a #

cos :: Furlong a -> Furlong a #

tan :: Furlong a -> Furlong a #

asin :: Furlong a -> Furlong a #

acos :: Furlong a -> Furlong a #

atan :: Furlong a -> Furlong a #

sinh :: Furlong a -> Furlong a #

cosh :: Furlong a -> Furlong a #

tanh :: Furlong a -> Furlong a #

asinh :: Furlong a -> Furlong a #

acosh :: Furlong a -> Furlong a #

atanh :: Furlong a -> Furlong a #

log1p :: Furlong a -> Furlong a #

expm1 :: Furlong a -> Furlong a #

log1pexp :: Furlong a -> Furlong a #

log1mexp :: Furlong a -> Furlong a #

RealFloat a => RealFloat (Furlong a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Num a => Num (Furlong a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(+) :: Furlong a -> Furlong a -> Furlong a #

(-) :: Furlong a -> Furlong a -> Furlong a #

(*) :: Furlong a -> Furlong a -> Furlong a #

negate :: Furlong a -> Furlong a #

abs :: Furlong a -> Furlong a #

signum :: Furlong a -> Furlong a #

fromInteger :: Integer -> Furlong a #

Fractional a => Fractional (Furlong a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(/) :: Furlong a -> Furlong a -> Furlong a #

recip :: Furlong a -> Furlong a #

fromRational :: Rational -> Furlong a #

Real a => Real (Furlong a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

toRational :: Furlong a -> Rational #

RealFrac a => RealFrac (Furlong a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

properFraction :: Integral b => Furlong a -> (b, Furlong a) #

truncate :: Integral b => Furlong a -> b #

round :: Integral b => Furlong a -> b #

ceiling :: Integral b => Furlong a -> b #

floor :: Integral b => Furlong a -> b #

Show a => Show (Furlong a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Furlong a -> ShowS #

show :: Furlong a -> String #

showList :: [Furlong a] -> ShowS #

Eq a => Eq (Furlong a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(==) :: Furlong a -> Furlong a -> Bool #

(/=) :: Furlong a -> Furlong a -> Bool #

Ord a => Ord (Furlong a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

compare :: Furlong a -> Furlong a -> Ordering #

(<) :: Furlong a -> Furlong a -> Bool #

(<=) :: Furlong a -> Furlong a -> Bool #

(>) :: Furlong a -> Furlong a -> Bool #

(>=) :: Furlong a -> Furlong a -> Bool #

max :: Furlong a -> Furlong a -> Furlong a #

min :: Furlong a -> Furlong a -> Furlong a #

type DimOf Furlong Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Furlong Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Furlong = 'Text "fur"

newtype Mile a Source #

Length in miles.

Constructors

Mile a 

Instances

Instances details
IsUnit Mile Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf Mile 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit Mile Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType Mile 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Mile = 'Text "mi"
Fractional a => ConversionFactor Mile a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit Mile a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (Mile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

pi :: Mile a #

exp :: Mile a -> Mile a #

log :: Mile a -> Mile a #

sqrt :: Mile a -> Mile a #

(**) :: Mile a -> Mile a -> Mile a #

logBase :: Mile a -> Mile a -> Mile a #

sin :: Mile a -> Mile a #

cos :: Mile a -> Mile a #

tan :: Mile a -> Mile a #

asin :: Mile a -> Mile a #

acos :: Mile a -> Mile a #

atan :: Mile a -> Mile a #

sinh :: Mile a -> Mile a #

cosh :: Mile a -> Mile a #

tanh :: Mile a -> Mile a #

asinh :: Mile a -> Mile a #

acosh :: Mile a -> Mile a #

atanh :: Mile a -> Mile a #

log1p :: Mile a -> Mile a #

expm1 :: Mile a -> Mile a #

log1pexp :: Mile a -> Mile a #

log1mexp :: Mile a -> Mile a #

RealFloat a => RealFloat (Mile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Num a => Num (Mile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(+) :: Mile a -> Mile a -> Mile a #

(-) :: Mile a -> Mile a -> Mile a #

(*) :: Mile a -> Mile a -> Mile a #

negate :: Mile a -> Mile a #

abs :: Mile a -> Mile a #

signum :: Mile a -> Mile a #

fromInteger :: Integer -> Mile a #

Fractional a => Fractional (Mile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(/) :: Mile a -> Mile a -> Mile a #

recip :: Mile a -> Mile a #

fromRational :: Rational -> Mile a #

Real a => Real (Mile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

toRational :: Mile a -> Rational #

RealFrac a => RealFrac (Mile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

properFraction :: Integral b => Mile a -> (b, Mile a) #

truncate :: Integral b => Mile a -> b #

round :: Integral b => Mile a -> b #

ceiling :: Integral b => Mile a -> b #

floor :: Integral b => Mile a -> b #

Show a => Show (Mile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Mile a -> ShowS #

show :: Mile a -> String #

showList :: [Mile a] -> ShowS #

Eq a => Eq (Mile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(==) :: Mile a -> Mile a -> Bool #

(/=) :: Mile a -> Mile a -> Bool #

Ord a => Ord (Mile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

compare :: Mile a -> Mile a -> Ordering #

(<) :: Mile a -> Mile a -> Bool #

(<=) :: Mile a -> Mile a -> Bool #

(>) :: Mile a -> Mile a -> Bool #

(>=) :: Mile a -> Mile a -> Bool #

max :: Mile a -> Mile a -> Mile a #

min :: Mile a -> Mile a -> Mile a #

type DimOf Mile Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Mile Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Mile = 'Text "mi"

newtype League a Source #

Length in leagues.

Constructors

League a 

Instances

Instances details
IsUnit League Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf League 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit League Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType League 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType League = 'Text "lea"
Fractional a => ConversionFactor League a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit League a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (League a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

pi :: League a #

exp :: League a -> League a #

log :: League a -> League a #

sqrt :: League a -> League a #

(**) :: League a -> League a -> League a #

logBase :: League a -> League a -> League a #

sin :: League a -> League a #

cos :: League a -> League a #

tan :: League a -> League a #

asin :: League a -> League a #

acos :: League a -> League a #

atan :: League a -> League a #

sinh :: League a -> League a #

cosh :: League a -> League a #

tanh :: League a -> League a #

asinh :: League a -> League a #

acosh :: League a -> League a #

atanh :: League a -> League a #

log1p :: League a -> League a #

expm1 :: League a -> League a #

log1pexp :: League a -> League a #

log1mexp :: League a -> League a #

RealFloat a => RealFloat (League a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Num a => Num (League a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(+) :: League a -> League a -> League a #

(-) :: League a -> League a -> League a #

(*) :: League a -> League a -> League a #

negate :: League a -> League a #

abs :: League a -> League a #

signum :: League a -> League a #

fromInteger :: Integer -> League a #

Fractional a => Fractional (League a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(/) :: League a -> League a -> League a #

recip :: League a -> League a #

fromRational :: Rational -> League a #

Real a => Real (League a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

toRational :: League a -> Rational #

RealFrac a => RealFrac (League a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

properFraction :: Integral b => League a -> (b, League a) #

truncate :: Integral b => League a -> b #

round :: Integral b => League a -> b #

ceiling :: Integral b => League a -> b #

floor :: Integral b => League a -> b #

Show a => Show (League a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> League a -> ShowS #

show :: League a -> String #

showList :: [League a] -> ShowS #

Eq a => Eq (League a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(==) :: League a -> League a -> Bool #

(/=) :: League a -> League a -> Bool #

Ord a => Ord (League a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

compare :: League a -> League a -> Ordering #

(<) :: League a -> League a -> Bool #

(<=) :: League a -> League a -> Bool #

(>) :: League a -> League a -> Bool #

(>=) :: League a -> League a -> Bool #

max :: League a -> League a -> League a #

min :: League a -> League a -> League a #

type DimOf League Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType League Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType League = 'Text "lea"

newtype Fathom a Source #

Length in fathoms.

Constructors

Fathom a 

Instances

Instances details
IsUnit Fathom Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf Fathom 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit Fathom Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType Fathom 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Fathom = 'Text "ftm"
Fractional a => ConversionFactor Fathom a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit Fathom a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (Fathom a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

pi :: Fathom a #

exp :: Fathom a -> Fathom a #

log :: Fathom a -> Fathom a #

sqrt :: Fathom a -> Fathom a #

(**) :: Fathom a -> Fathom a -> Fathom a #

logBase :: Fathom a -> Fathom a -> Fathom a #

sin :: Fathom a -> Fathom a #

cos :: Fathom a -> Fathom a #

tan :: Fathom a -> Fathom a #

asin :: Fathom a -> Fathom a #

acos :: Fathom a -> Fathom a #

atan :: Fathom a -> Fathom a #

sinh :: Fathom a -> Fathom a #

cosh :: Fathom a -> Fathom a #

tanh :: Fathom a -> Fathom a #

asinh :: Fathom a -> Fathom a #

acosh :: Fathom a -> Fathom a #

atanh :: Fathom a -> Fathom a #

log1p :: Fathom a -> Fathom a #

expm1 :: Fathom a -> Fathom a #

log1pexp :: Fathom a -> Fathom a #

log1mexp :: Fathom a -> Fathom a #

RealFloat a => RealFloat (Fathom a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Num a => Num (Fathom a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(+) :: Fathom a -> Fathom a -> Fathom a #

(-) :: Fathom a -> Fathom a -> Fathom a #

(*) :: Fathom a -> Fathom a -> Fathom a #

negate :: Fathom a -> Fathom a #

abs :: Fathom a -> Fathom a #

signum :: Fathom a -> Fathom a #

fromInteger :: Integer -> Fathom a #

Fractional a => Fractional (Fathom a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(/) :: Fathom a -> Fathom a -> Fathom a #

recip :: Fathom a -> Fathom a #

fromRational :: Rational -> Fathom a #

Real a => Real (Fathom a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

toRational :: Fathom a -> Rational #

RealFrac a => RealFrac (Fathom a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

properFraction :: Integral b => Fathom a -> (b, Fathom a) #

truncate :: Integral b => Fathom a -> b #

round :: Integral b => Fathom a -> b #

ceiling :: Integral b => Fathom a -> b #

floor :: Integral b => Fathom a -> b #

Show a => Show (Fathom a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Fathom a -> ShowS #

show :: Fathom a -> String #

showList :: [Fathom a] -> ShowS #

Eq a => Eq (Fathom a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(==) :: Fathom a -> Fathom a -> Bool #

(/=) :: Fathom a -> Fathom a -> Bool #

Ord a => Ord (Fathom a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

compare :: Fathom a -> Fathom a -> Ordering #

(<) :: Fathom a -> Fathom a -> Bool #

(<=) :: Fathom a -> Fathom a -> Bool #

(>) :: Fathom a -> Fathom a -> Bool #

(>=) :: Fathom a -> Fathom a -> Bool #

max :: Fathom a -> Fathom a -> Fathom a #

min :: Fathom a -> Fathom a -> Fathom a #

type DimOf Fathom Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Fathom Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Fathom = 'Text "ftm"

newtype Cable a Source #

Length in cables.

Constructors

Cable a 

Instances

Instances details
IsUnit Cable Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf Cable 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit Cable Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType Cable 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Cable = 'Text "cable"
Fractional a => ConversionFactor Cable a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit Cable a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (Cable a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

pi :: Cable a #

exp :: Cable a -> Cable a #

log :: Cable a -> Cable a #

sqrt :: Cable a -> Cable a #

(**) :: Cable a -> Cable a -> Cable a #

logBase :: Cable a -> Cable a -> Cable a #

sin :: Cable a -> Cable a #

cos :: Cable a -> Cable a #

tan :: Cable a -> Cable a #

asin :: Cable a -> Cable a #

acos :: Cable a -> Cable a #

atan :: Cable a -> Cable a #

sinh :: Cable a -> Cable a #

cosh :: Cable a -> Cable a #

tanh :: Cable a -> Cable a #

asinh :: Cable a -> Cable a #

acosh :: Cable a -> Cable a #

atanh :: Cable a -> Cable a #

log1p :: Cable a -> Cable a #

expm1 :: Cable a -> Cable a #

log1pexp :: Cable a -> Cable a #

log1mexp :: Cable a -> Cable a #

RealFloat a => RealFloat (Cable a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Num a => Num (Cable a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(+) :: Cable a -> Cable a -> Cable a #

(-) :: Cable a -> Cable a -> Cable a #

(*) :: Cable a -> Cable a -> Cable a #

negate :: Cable a -> Cable a #

abs :: Cable a -> Cable a #

signum :: Cable a -> Cable a #

fromInteger :: Integer -> Cable a #

Fractional a => Fractional (Cable a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(/) :: Cable a -> Cable a -> Cable a #

recip :: Cable a -> Cable a #

fromRational :: Rational -> Cable a #

Real a => Real (Cable a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

toRational :: Cable a -> Rational #

RealFrac a => RealFrac (Cable a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

properFraction :: Integral b => Cable a -> (b, Cable a) #

truncate :: Integral b => Cable a -> b #

round :: Integral b => Cable a -> b #

ceiling :: Integral b => Cable a -> b #

floor :: Integral b => Cable a -> b #

Show a => Show (Cable a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Cable a -> ShowS #

show :: Cable a -> String #

showList :: [Cable a] -> ShowS #

Eq a => Eq (Cable a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(==) :: Cable a -> Cable a -> Bool #

(/=) :: Cable a -> Cable a -> Bool #

Ord a => Ord (Cable a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

compare :: Cable a -> Cable a -> Ordering #

(<) :: Cable a -> Cable a -> Bool #

(<=) :: Cable a -> Cable a -> Bool #

(>) :: Cable a -> Cable a -> Bool #

(>=) :: Cable a -> Cable a -> Bool #

max :: Cable a -> Cable a -> Cable a #

min :: Cable a -> Cable a -> Cable a #

type DimOf Cable Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Cable Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Cable = 'Text "cable"

newtype NauticalMile a Source #

Length in nautical miles.

Constructors

NauticalMile a 

Instances

Instances details
IsUnit NauticalMile Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf NauticalMile 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit NauticalMile Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType NauticalMile 
Instance details

Defined in Data.Units.Imperial.Length

Fractional a => ConversionFactor NauticalMile a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit NauticalMile a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (NauticalMile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

RealFloat a => RealFloat (NauticalMile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Num a => Num (NauticalMile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Fractional a => Fractional (NauticalMile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Real a => Real (NauticalMile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

RealFrac a => RealFrac (NauticalMile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Show a => Show (NauticalMile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Eq a => Eq (NauticalMile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Ord a => Ord (NauticalMile a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

type DimOf NauticalMile Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType NauticalMile Source # 
Instance details

Defined in Data.Units.Imperial.Length

newtype Link a Source #

Length in links.

Constructors

Link a 

Instances

newtype Rod a Source #

Length in rods.

Constructors

Rod a 

Instances

Instances details
IsUnit Rod Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type DimOf Rod 
Instance details

Defined in Data.Units.Imperial.Length

ShowUnit Rod Source # 
Instance details

Defined in Data.Units.Imperial.Length

Associated Types

type ShowUnitType Rod 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Rod = 'Text "rod"
Fractional a => ConversionFactor Rod a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

factor :: a Source #

Fractional a => ConvertibleUnit Rod a Source # 
Instance details

Defined in Data.Units.Imperial.Length

Floating a => Floating (Rod a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

pi :: Rod a #

exp :: Rod a -> Rod a #

log :: Rod a -> Rod a #

sqrt :: Rod a -> Rod a #

(**) :: Rod a -> Rod a -> Rod a #

logBase :: Rod a -> Rod a -> Rod a #

sin :: Rod a -> Rod a #

cos :: Rod a -> Rod a #

tan :: Rod a -> Rod a #

asin :: Rod a -> Rod a #

acos :: Rod a -> Rod a #

atan :: Rod a -> Rod a #

sinh :: Rod a -> Rod a #

cosh :: Rod a -> Rod a #

tanh :: Rod a -> Rod a #

asinh :: Rod a -> Rod a #

acosh :: Rod a -> Rod a #

atanh :: Rod a -> Rod a #

log1p :: Rod a -> Rod a #

expm1 :: Rod a -> Rod a #

log1pexp :: Rod a -> Rod a #

log1mexp :: Rod a -> Rod a #

RealFloat a => RealFloat (Rod a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

floatRadix :: Rod a -> Integer #

floatDigits :: Rod a -> Int #

floatRange :: Rod a -> (Int, Int) #

decodeFloat :: Rod a -> (Integer, Int) #

encodeFloat :: Integer -> Int -> Rod a #

exponent :: Rod a -> Int #

significand :: Rod a -> Rod a #

scaleFloat :: Int -> Rod a -> Rod a #

isNaN :: Rod a -> Bool #

isInfinite :: Rod a -> Bool #

isDenormalized :: Rod a -> Bool #

isNegativeZero :: Rod a -> Bool #

isIEEE :: Rod a -> Bool #

atan2 :: Rod a -> Rod a -> Rod a #

Num a => Num (Rod a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(+) :: Rod a -> Rod a -> Rod a #

(-) :: Rod a -> Rod a -> Rod a #

(*) :: Rod a -> Rod a -> Rod a #

negate :: Rod a -> Rod a #

abs :: Rod a -> Rod a #

signum :: Rod a -> Rod a #

fromInteger :: Integer -> Rod a #

Fractional a => Fractional (Rod a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(/) :: Rod a -> Rod a -> Rod a #

recip :: Rod a -> Rod a #

fromRational :: Rational -> Rod a #

Real a => Real (Rod a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

toRational :: Rod a -> Rational #

RealFrac a => RealFrac (Rod a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

properFraction :: Integral b => Rod a -> (b, Rod a) #

truncate :: Integral b => Rod a -> b #

round :: Integral b => Rod a -> b #

ceiling :: Integral b => Rod a -> b #

floor :: Integral b => Rod a -> b #

Show a => Show (Rod a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

showsPrec :: Int -> Rod a -> ShowS #

show :: Rod a -> String #

showList :: [Rod a] -> ShowS #

Eq a => Eq (Rod a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

(==) :: Rod a -> Rod a -> Bool #

(/=) :: Rod a -> Rod a -> Bool #

Ord a => Ord (Rod a) Source # 
Instance details

Defined in Data.Units.Imperial.Length

Methods

compare :: Rod a -> Rod a -> Ordering #

(<) :: Rod a -> Rod a -> Bool #

(<=) :: Rod a -> Rod a -> Bool #

(>) :: Rod a -> Rod a -> Bool #

(>=) :: Rod a -> Rod a -> Bool #

max :: Rod a -> Rod a -> Rod a #

min :: Rod a -> Rod a -> Rod a #

type DimOf Rod Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Rod Source # 
Instance details

Defined in Data.Units.Imperial.Length

type ShowUnitType Rod = 'Text "rod"