1.

List Out The Numeric Types In The Haskell “prelude”?

Answer»

In Haskell, there are five numeric types that INCLUDES

Int: It is an integer having at LEAST 30 bits of precision

Integer: It is an integer having unlimited precision

Float: It is a single precision floating point NUMBER

Double: It is a double point precision floating point number

Rational: It is a fraction type with no rounding error

In Haskell, there are five numeric types that includes

Int: It is an integer having at least 30 bits of precision

Integer: It is an integer having unlimited precision

Float: It is a single precision floating point number

Double: It is a double point precision floating point number

Rational: It is a fraction type with no rounding error



Discussion

No Comment Found