Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype PD a = PD {
- unPD :: DynFlags -> HomeUnit -> PState -> ParseResult a
- liftP :: P a -> PD a
- failMsgPD :: (SrcSpan -> MsgEnvelope PsMessage) -> PD a
- getProfile :: PD Profile
- getPlatform :: PD Platform
- getHomeUnitId :: PD UnitId
Documentation
getProfile :: PD Profile Source #
getPlatform :: PD Platform Source #
getHomeUnitId :: PD UnitId Source #
Return the UnitId of the home-unit. This is used to create labels.