| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
MagicHaskeller.FastRatio
Documentation
Instances
| Integral a => Enum (Ratio a) Source # | |
| Eq (Ratio a) Source # | |
| Integral a => Fractional (Ratio a) Source # | |
| Integral a => Num (Ratio a) Source # | |
| Ord (Ratio a) Source # | |
Defined in MagicHaskeller.FastRatio | |
| Integral a => Real (Ratio a) Source # | |
Defined in MagicHaskeller.FastRatio Methods toRational :: Ratio a -> Rational # | |
| Integral a => RealFrac (Ratio a) Source # | |
| (Show a, Integral a) => Show (Ratio a) Source # | |
| (Integral i, Bits i) => Coarbitrary (Ratio i) Source # | |
Defined in MagicHaskeller.MyCheck | |
| (Integral i, Random i) => Arbitrary (Ratio i) Source # | |
| (NearEq i, Integral i) => NearEq (Ratio i) Source # | |
denominator :: Integral a => Ratio a -> a Source #
notANumber :: Ratio a Source #