Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
A class which represents things that can be converted from integer literals
fromInteger :: Integer -> a Source #
fromInteger :: Num a => Integer -> a Source #
Double-precision floating point numbers. It is desirable that this type be at least equal in range and precision to the IEEE double-precision type.
Eq Double | |
Floating Double | |
Ord Double | |
RealFloat Double | |
Lift Double | |
Num Double Source # | |
Semiring Double Source # | |
Ring Double Source # | |
GTextShowConB arity UDouble | |
GTextShowConT arity UDouble | |
GTextShowConTL arity UDouble | |
IsNullary * UDouble | |
Functor (URec Double) | |
Foldable (URec Double) | |
Traversable (URec Double) | |
Generic1 (URec Double) | |
Eq (URec Double p) | |
Ord (URec Double p) | |
Show (URec Double p) | |
Generic (URec Double p) | |
data URec Double | Used for marking occurrences of |
type Rep1 (URec Double) | |
type Rep (URec Double p) | |
Single-precision floating point numbers. It is desirable that this type be at least equal in range and precision to the IEEE single-precision type.
Eq Float | |
Floating Float | |
Ord Float | |
RealFloat Float | |
Lift Float | |
Num Float Source # | |
Semiring Float Source # | |
Ring Float Source # | |
GTextShowConB arity UFloat | |
GTextShowConT arity UFloat | |
GTextShowConTL arity UFloat | |
IsNullary * UFloat | |
Functor (URec Float) | |
Foldable (URec Float) | |
Traversable (URec Float) | |
Generic1 (URec Float) | |
Eq (URec Float p) | |
Ord (URec Float p) | |
Show (URec Float p) | |
Generic (URec Float p) | |
data URec Float | Used for marking occurrences of |
type Rep1 (URec Float) | |
type Rep (URec Float p) | |
A fixed-precision integer type with at least the range [-2^29 .. 2^29-1]
.
The exact range for a given implementation can be determined by using
minBound
and maxBound
from the Bounded
class.
Bounded Int | |
Enum Int | |
Eq Int | |
Integral Int | |
Num Int | |
Ord Int | |
Real Int | |
Lift Int | |
Num Int Source # | |
Semiring Int Source # | |
Integral Int Source # | |
Ring Int Source # | |
GTextShowConB arity UInt | |
GTextShowConT arity UInt | |
GTextShowConTL arity UInt | |
IsNullary * UInt | |
Functor (URec Int) | |
Foldable (URec Int) | |
Traversable (URec Int) | |
Generic1 (URec Int) | |
Eq (URec Int p) | |
Ord (URec Int p) | |
Show (URec Int p) | |
Generic (URec Int p) | |
data URec Int | Used for marking occurrences of |
type Rep1 (URec Int) | |
type Rep (URec Int p) | |