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