ghc-9.6.0.20230210: 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 Source # 
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 Source # 
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 Source # 
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 #

liftP :: P a -> PD a Source #

getHomeUnitId :: PD UnitId Source #

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

data PDConfig Source #

Constructors

PDConfig 

Fields