fay-base-0.21.2.0: The base package for Fay.
Safe HaskellNone
LanguageHaskell2010

Data.Ratio

Documentation

data Rational Source #

Constructors

Ratio Int Int 

Instances

Instances details
Data Rational Source # 
Instance details

Defined in Data.Ratio

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Rational -> c Rational #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Rational #

toConstr :: Rational -> Constr #

dataTypeOf :: Rational -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Rational) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Rational) #

gmapT :: (forall b. Data b => b -> b) -> Rational -> Rational #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Rational -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Rational -> r #

gmapQ :: (forall d. Data d => d -> u) -> Rational -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Rational -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Rational -> m Rational #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Rational -> m Rational #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Rational -> m Rational #

Show Rational Source # 
Instance details

Defined in Data.Ratio