| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
GHC.Cmm.Parser.Monad
Synopsis
- newtype PD a = PD {
- unPD :: PDConfig -> HomeUnit -> PState -> ParseResult a
- liftP :: P a -> PD a
- failMsgPD :: (SrcSpan -> MsgEnvelope PsMessage) -> PD a
- getPDConfig :: PD PDConfig
- getProfile :: PD Profile
- getPlatform :: PD Platform
- getHomeUnitId :: PD UnitId
- data PDConfig = PDConfig {
- pdProfile :: !Profile
- pdSanitizeAlignment :: !Bool
Documentation
getPDConfig :: PD PDConfig #
getProfile :: PD Profile #
getPlatform :: PD Platform #
getHomeUnitId :: PD UnitId #
Return the UnitId of the home-unit. This is used to create labels.