image/svg+xml
Eq
=,
≠
Ord
<, ≤, >, ≥, max, min
Eq->Ord
Num
Num
+
, -, *
fromInteger
negate, abs, signum
Eq->Num
CInteger
Complex Integer
Complex Rational
Real
toRational
Ord->Real
Ord->Bool
Char
Num->Real
Fractional
/
, recip
fromRational
Num->Fractional
Integral
quot, rem
div, mod
toInteger
quotRem, divMod
Real->Integral
RealFrac
RealFrac
truncate, round
ceiling, floor
properFraction
Real->RealFrac
Rational
Rational =
Ratio Integer
Enum
succ, pred
toEnum, fromEnum
enumFromTo etc.
Enum->Integral
Integer
Integer
Integral->Integer
Int
Int
Int8
Int8
Int16
Int32
Int64
Word
Fractional->RealFrac
Floating
Floating
**
logBase
pi, exp, log, sqrt
sin asin sinh etc.
Fractional->Floating
RealFloat
RealFloat
exponent, significand
floatRadix, floatDigits, floatRange
decodeFloat encodeFloat scaleFloat
isNan, isIEEE, isDenormalized etc.
atan2
RealFrac->RealFloat
Ratio
Ratio
RealFrac->Ratio
Floating->RealFloat
CFloat
Complex Float
Complex Double
Floating->CFloat
Float
Float
RealFloat->Float
Double
Double
RealFloat->Double
Ratio->Rational
fromIntegral =
fromInteger .
toInteger
fromRealFrac =
fromRational .
toRational
fromEnum /
toEnum
toRational
fromRational
fromInteger
toInteger
Bool
Ordering
compare,
Mark Dominus 2022No Rights Reservedhttps://blog.plover.com/
v1.1