Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Data Rational Source # | |
Defined in Data.Ratio 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 # | |
denominator :: Rational -> Int Source #