Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- pprTypeDoesNotHaveFixedRuntimeRep :: Type -> FixedRuntimeRepProvenance -> SDoc
- pprScopeError :: RdrName -> NotInScopeError -> SDoc
- tidySkolemInfo :: TidyEnv -> SkolemInfo -> SkolemInfo
- tidySkolemInfoAnon :: TidyEnv -> SkolemInfoAnon -> SkolemInfoAnon
- pprHsDocContext :: HsDocContext -> SDoc
- inHsDocContext :: HsDocContext -> SDoc
- data TcRnMessageOpts = TcRnMessageOpts {}
- pprTyThingUsedWrong :: WrongThingSort -> TcTyThing -> Name -> SDoc
- pprUntouchableVariable :: TcTyVar -> Implication -> SDoc
- mismatchMsg_ExpectedActuals :: MismatchMsg -> Maybe (Type, Type)
- messageWithInfoDiagnosticMessage :: UnitState -> ErrInfo -> Bool -> DecoratedSDoc -> DecoratedSDoc
- messageWithHsDocContext :: TcRnMessageOpts -> HsDocContext -> DecoratedSDoc -> DecoratedSDoc
Documentation
pprScopeError :: RdrName -> NotInScopeError -> SDoc Source #
tidySkolemInfo :: TidyEnv -> SkolemInfo -> SkolemInfo Source #
pprHsDocContext :: HsDocContext -> SDoc Source #
inHsDocContext :: HsDocContext -> SDoc Source #
data TcRnMessageOpts Source #
TcRnMessageOpts | |
|
Instances
pprTyThingUsedWrong :: WrongThingSort -> TcTyThing -> Name -> SDoc Source #
pprUntouchableVariable :: TcTyVar -> Implication -> SDoc Source #
mismatchMsg_ExpectedActuals :: MismatchMsg -> Maybe (Type, Type) Source #
Useful when overriding message printing.
messageWithInfoDiagnosticMessage :: UnitState -> ErrInfo -> Bool -> DecoratedSDoc -> DecoratedSDoc Source #
messageWithHsDocContext :: TcRnMessageOpts -> HsDocContext -> DecoratedSDoc -> DecoratedSDoc Source #