ghc-9.2.0.20210331: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Cmm.Parser.Monad

Synopsis

Documentation

newtype PD a Source #

Constructors

PD 

Fields

Instances

Instances details
Applicative PD # 
Instance details

Defined in GHC.Cmm.Parser.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 #

Functor PD # 
Instance details

Defined in GHC.Cmm.Parser.Monad

Methods

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

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

Monad PD # 
Instance details

Defined in GHC.Cmm.Parser.Monad

Methods

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

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

return :: a -> PD a Source #

HasDynFlags PD # 
Instance details

Defined in GHC.Cmm.Parser.Monad

liftP :: P a -> PD a Source #

getHomeUnitId :: PD UnitId Source #

Return the UnitId of the home-unit. This is used to create labels.