GHC.HsToCore.Errors.Ppr
Contents
badMonadBind :: Type -> SDoc Source #
pprEqn :: HsMatchContext GhcTc -> SDoc -> String -> SDoc Source #
pprContext :: Bool -> HsMatchContext GhcTc -> SDoc -> ((SDoc -> SDoc) -> SDoc) -> SDoc Source #
dots :: Int -> [a] -> SDoc Source #
Associated Types
type DiagnosticOpts DsMessage Source #
Methods
diagnosticMessage :: DiagnosticOpts DsMessage -> DsMessage -> DecoratedSDoc Source #
diagnosticReason :: DsMessage -> DiagnosticReason Source #
diagnosticHints :: DsMessage -> [GhcHint] Source #
diagnosticCode :: DsMessage -> Maybe DiagnosticCode Source #