| ZVON > References > Haskell reference |
| Intro / Search / ZVON |
| | Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random |
| Module: | Prelude |
|---|---|
| Class: | Real |
| Instances: | Double, Float, Int, Integer |
class (Num a, Ord a) => Real a where
toRational :: a -> Rational
instance Real Int where ...
instance Real Integer where ...
instance Real Float where ...
instance Real Double where ...