ghc-lib-0.20190516: The GHC API, decoupled from GHC versions

Safe HaskellNone
LanguageHaskell2010

CmmMonad

Documentation

newtype PD a Source #

Constructors

PD 

Fields

Instances
Monad PD Source # 
Instance details

Defined in CmmMonad

Methods

(>>=) :: PD a -> (a -> PD b) -> PD b #

(>>) :: PD a -> PD b -> PD b #

return :: a -> PD a #

fail :: String -> PD a #

Functor PD Source # 
Instance details

Defined in CmmMonad

Methods

fmap :: (a -> b) -> PD a -> PD b #

(<$) :: a -> PD b -> PD a #

MonadFail PD Source # 
Instance details

Defined in CmmMonad

Methods

fail :: String -> PD a #

Applicative PD Source # 
Instance details

Defined in CmmMonad

Methods

pure :: a -> PD a #

(<*>) :: PD (a -> b) -> PD a -> PD b #

liftA2 :: (a -> b -> c) -> PD a -> PD b -> PD c #

(*>) :: PD a -> PD b -> PD b #

(<*) :: PD a -> PD b -> PD a #

HasDynFlags PD Source # 
Instance details

Defined in CmmMonad

liftP :: P a -> PD a Source #