Numeric typesBasics
Typeclasses
Num
- the base numeric typeclass ((+), (-), (*), negate, abs
)Enum
Ord
Integral
Fractional
Floating
Real
RealFrac
RealFloat
Concrete types
Int
- fixed-precision integer type with at least the range[-2^29 .. 2^29-1]
Integer
- arbitrary precision integer typeDouble
- fixed precision floating point number
Tutorials