GHC.Cmm.Monad

ghc-9.0.0.20201227: The GHC API

Safe Haskell | None
Language | Haskell2010

GHC.Cmm.Monad

# Documentation

newtype PD a Source #

Constructors

PD |
Fields unPD :: DynFlags -> PState -> ParseResult a

#### Instances

Instances details

Monad PD # |
Instance details Defined in GHC.Cmm.Monad Methods (>>=) :: PD a -> (a -> PD b) -> PD b Source # (>>) :: PD a -> PD b -> PD b Source # return :: a -> PD a Source #
Functor PD # |
Instance details Defined in GHC.Cmm.Monad Methods fmap :: (a -> b) -> PD a -> PD b Source # (<$) :: a -> PD b -> PD a Source #
Applicative PD # |
Instance details Defined in GHC.Cmm.Monad Methods pure :: a -> PD a Source # (<*>) :: PD (a -> b) -> PD a -> PD b Source # liftA2 :: (a -> b -> c) -> PD a -> PD b -> PD c Source # (*>) :: PD a -> PD b -> PD b Source # (<*) :: PD a -> PD b -> PD a Source #
HasDynFlags PD # |
Instance details Defined in GHC.Cmm.Monad Methods getDynFlags :: PD DynFlags Source #

liftP :: P a -> PD a Source #

failMsgPD :: String -> PD a Source #