ghc-8.4.2: The GHC API

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 Source #

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

return :: a -> PD a Source #

fail :: String -> PD a Source #

Functor PD Source # 
Instance details

Defined in CmmMonad

Methods

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

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

MonadFail PD Source # 
Instance details

Defined in CmmMonad

Methods

fail :: String -> PD a Source #

Applicative PD Source # 
Instance details

Defined in CmmMonad

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 Source # 
Instance details

Defined in CmmMonad

liftP :: P a -> PD a Source #