ghc-9.10.0.20240426: The GHC API
Safe HaskellNone
LanguageGHC2021

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 #

(<*>) :: 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 #

Functor PD Source # 
Instance details

Defined in GHC.Cmm.Parser.Monad

Methods

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

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

Monad PD Source # 
Instance details

Defined in GHC.Cmm.Parser.Monad

Methods

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

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

return :: a -> PD a #

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