ghcide-1.7.0.0: The core of an IDE
Safe HaskellNone
LanguageHaskell2010

Development.IDE.GHC.Compat.Outputable

Synopsis

Documentation

data SDoc #

Represents a pretty-printable document.

To display an SDoc, use printSDoc, printSDocLn, bufLeftRenderSDoc, or renderWithStyle. Avoid calling runSDoc directly as it breaks the abstraction layer.

Instances

Instances details
IsString SDoc 
Instance details

Defined in Outputable

Methods

fromString :: String -> SDoc #

Outputable SDoc 
Instance details

Defined in Outputable

Methods

ppr :: SDoc -> SDoc #

pprPrec :: Rational -> SDoc -> SDoc #

class Outputable a #

Class designating that some type has an SDoc representation

Instances

Instances details
Outputable Bool 
Instance details

Defined in Outputable

Methods

ppr :: Bool -> SDoc #

pprPrec :: Rational -> Bool -> SDoc #

Outputable Char 
Instance details

Defined in Outputable

Methods

ppr :: Char -> SDoc #

pprPrec :: Rational -> Char -> SDoc #

Outputable Double 
Instance details

Defined in Outputable

Methods

ppr :: Double -> SDoc #

pprPrec :: Rational -> Double -> SDoc #

Outputable Float 
Instance details

Defined in Outputable

Methods

ppr :: Float -> SDoc #

pprPrec :: Rational -> Float -> SDoc #

Outputable Int 
Instance details

Defined in Outputable

Methods

ppr :: Int -> SDoc #

pprPrec :: Rational -> Int -> SDoc #

Outputable Int32 
Instance details

Defined in Outputable

Methods

ppr :: Int32 -> SDoc #

pprPrec :: Rational -> Int32 -> SDoc #

Outputable Int64 
Instance details

Defined in Outputable

Methods

ppr :: Int64 -> SDoc #

pprPrec :: Rational -> Int64 -> SDoc #

Outputable Integer 
Instance details

Defined in Outputable

Methods

ppr :: Integer -> SDoc #

pprPrec :: Rational -> Integer -> SDoc #

Outputable Ordering 
Instance details

Defined in Outputable

Outputable Word 
Instance details

Defined in Outputable

Methods

ppr :: Word -> SDoc #

pprPrec :: Rational -> Word -> SDoc #

Outputable Word16 
Instance details

Defined in Outputable

Methods

ppr :: Word16 -> SDoc #

pprPrec :: Rational -> Word16 -> SDoc #

Outputable Word32 
Instance details

Defined in Outputable

Methods

ppr :: Word32 -> SDoc #

pprPrec :: Rational -> Word32 -> SDoc #

Outputable () 
Instance details

Defined in Outputable

Methods

ppr :: () -> SDoc #

pprPrec :: Rational -> () -> SDoc #

Outputable Fingerprint 
Instance details

Defined in Outputable

Outputable Serialized 
Instance details

Defined in Outputable

Outputable Extension 
Instance details

Defined in Outputable

Outputable CoreModule 
Instance details

Defined in GHC

Outputable GetDocsFailure 
Instance details

Defined in InteractiveEval

Outputable JumpDest 
Instance details

Defined in X86.Instr

Outputable DsMatchContext 
Instance details

Defined in DsMonad

Outputable EquationInfo 
Instance details

Defined in DsMonad

Outputable PluginRecompile 
Instance details

Defined in Plugins

Outputable TypedHole 
Instance details

Defined in TcHoleFitTypes

Outputable HoleFitCandidate 
Instance details

Defined in TcHoleFitTypes

Outputable HoleFit 
Instance details

Defined in TcHoleFitTypes

Methods

ppr :: HoleFit -> SDoc #

pprPrec :: Rational -> HoleFit -> SDoc #

Outputable TcBinder 
Instance details

Defined in TcRnTypes

Outputable ThStage 
Instance details

Defined in TcRnTypes

Methods

ppr :: ThStage -> SDoc #

pprPrec :: Rational -> ThStage -> SDoc #

Outputable TcTyThing 
Instance details

Defined in TcRnTypes

Outputable PromotionErr 
Instance details

Defined in TcRnTypes

Outputable IdBindingInfo 
Instance details

Defined in TcRnTypes

Outputable WhereFrom 
Instance details

Defined in TcRnTypes

Outputable TcSigInfo 
Instance details

Defined in TcRnTypes

Outputable TcIdSigInfo 
Instance details

Defined in TcRnTypes

Outputable TcIdSigInst 
Instance details

Defined in TcRnTypes

Outputable TcPatSynInfo 
Instance details

Defined in TcRnTypes

Outputable Ct 
Instance details

Defined in Constraint

Methods

ppr :: Ct -> SDoc #

pprPrec :: Rational -> Ct -> SDoc #

Outputable QCInst 
Instance details

Defined in Constraint

Methods

ppr :: QCInst -> SDoc #

pprPrec :: Rational -> QCInst -> SDoc #

Outputable Hole 
Instance details

Defined in Constraint

Methods

ppr :: Hole -> SDoc #

pprPrec :: Rational -> Hole -> SDoc #

Outputable WantedConstraints 
Instance details

Defined in Constraint

Outputable Implication 
Instance details

Defined in Constraint

Outputable ImplicStatus 
Instance details

Defined in Constraint

Outputable TcEvDest 
Instance details

Defined in Constraint

Outputable CtEvidence 
Instance details

Defined in Constraint

Outputable CtFlavour 
Instance details

Defined in Constraint

Outputable SubGoalDepth 
Instance details

Defined in Constraint

Outputable Subst 
Instance details

Defined in CoreSubst

Methods

ppr :: Subst -> SDoc #

pprPrec :: Rational -> Subst -> SDoc #

Outputable PmLit 
Instance details

Defined in GHC.HsToCore.PmCheck.Types

Methods

ppr :: PmLit -> SDoc #

pprPrec :: Rational -> PmLit -> SDoc #

Outputable PmLitValue 
Instance details

Defined in GHC.HsToCore.PmCheck.Types

Outputable PmEquality 
Instance details

Defined in GHC.HsToCore.PmCheck.Types

Outputable PmAltCon 
Instance details

Defined in GHC.HsToCore.PmCheck.Types

Outputable PossibleMatches 
Instance details

Defined in GHC.HsToCore.PmCheck.Types

Outputable TmState

Not user-facing.

Instance details

Defined in GHC.HsToCore.PmCheck.Types

Methods

ppr :: TmState -> SDoc #

pprPrec :: Rational -> TmState -> SDoc #

Outputable VarInfo

Not user-facing.

Instance details

Defined in GHC.HsToCore.PmCheck.Types

Methods

ppr :: VarInfo -> SDoc #

pprPrec :: Rational -> VarInfo -> SDoc #

Outputable TyState

Not user-facing.

Instance details

Defined in GHC.HsToCore.PmCheck.Types

Methods

ppr :: TyState -> SDoc #

pprPrec :: Rational -> TyState -> SDoc #

Outputable FloatBind 
Instance details

Defined in MkCore

Outputable SimplMode 
Instance details

Defined in CoreMonad

Outputable FloatOutSwitches 
Instance details

Defined in CoreMonad

Outputable Tick 
Instance details

Defined in CoreMonad

Methods

ppr :: Tick -> SDoc #

pprPrec :: Rational -> Tick -> SDoc #

Outputable PhasePlus 
Instance details

Defined in PipelineMonad

Outputable Target 
Instance details

Defined in HscTypes

Methods

ppr :: Target -> SDoc #

pprPrec :: Rational -> Target -> SDoc #

Outputable TargetId 
Instance details

Defined in HscTypes

Outputable InteractiveImport 
Instance details

Defined in HscTypes

Outputable FixItem 
Instance details

Defined in HscTypes

Methods

ppr :: FixItem -> SDoc #

pprPrec :: Rational -> FixItem -> SDoc #

Outputable ModSummary 
Instance details

Defined in HscTypes

Outputable IfaceTrustInfo 
Instance details

Defined in HscTypes

Outputable CompleteMatch 
Instance details

Defined in HscTypes

Outputable TyEl 
Instance details

Defined in RdrHsSyn

Methods

ppr :: TyEl -> SDoc #

pprPrec :: Rational -> TyEl -> SDoc #

Outputable SkolemInfo 
Instance details

Defined in TcOrigin

Outputable CtOrigin 
Instance details

Defined in TcOrigin

Outputable UnboundVar 
Instance details

Defined in GHC.Hs.Expr

Outputable SpliceDecoration 
Instance details

Defined in GHC.Hs.Expr

Outputable PendingRnSplice 
Instance details

Defined in GHC.Hs.Expr

Outputable PendingTcSplice 
Instance details

Defined in GHC.Hs.Expr

Outputable NewOrData 
Instance details

Defined in GHC.Hs.Decls

Outputable ForeignImport 
Instance details

Defined in GHC.Hs.Decls

Outputable ForeignExport 
Instance details

Defined in GHC.Hs.Decls

Outputable DocDecl 
Instance details

Defined in GHC.Hs.Decls

Methods

ppr :: DocDecl -> SDoc #

pprPrec :: Rational -> DocDecl -> SDoc #

Outputable TcSpecPrag 
Instance details

Defined in GHC.Hs.Binds

Outputable HsWrapper 
Instance details

Defined in TcEvidence

Outputable TcEvBinds 
Instance details

Defined in TcEvidence

Outputable EvBindsVar 
Instance details

Defined in TcEvidence

Outputable EvBindMap 
Instance details

Defined in TcEvidence

Outputable EvBind 
Instance details

Defined in TcEvidence

Methods

ppr :: EvBind -> SDoc #

pprPrec :: Rational -> EvBind -> SDoc #

Outputable EvTerm 
Instance details

Defined in TcEvidence

Methods

ppr :: EvTerm -> SDoc #

pprPrec :: Rational -> EvTerm -> SDoc #

Outputable EvTypeable 
Instance details

Defined in TcEvidence

Outputable EvCallStack 
Instance details

Defined in TcEvidence

Outputable Skeleton 
Instance details

Defined in StgLiftLams.Analysis

Outputable BinderInfo 
Instance details

Defined in StgLiftLams.Analysis

Outputable ClsInst 
Instance details

Defined in InstEnv

Methods

ppr :: ClsInst -> SDoc #

pprPrec :: Rational -> ClsInst -> SDoc #

Outputable ExpType 
Instance details

Defined in TcType

Methods

ppr :: ExpType -> SDoc #

pprPrec :: Rational -> ExpType -> SDoc #

Outputable InferResult 
Instance details

Defined in TcType

Outputable MetaInfo 
Instance details

Defined in TcType

Outputable TcLevel 
Instance details

Defined in TcType

Methods

ppr :: TcLevel -> SDoc #

pprPrec :: Rational -> TcLevel -> SDoc #

Outputable FamInst 
Instance details

Defined in FamInstEnv

Methods

ppr :: FamInst -> SDoc #

pprPrec :: Rational -> FamInst -> SDoc #

Outputable FamInstMatch 
Instance details

Defined in FamInstEnv

Outputable CmmTickScope 
Instance details

Defined in CmmNode

Outputable StgArg 
Instance details

Defined in StgSyn

Methods

ppr :: StgArg -> SDoc #

pprPrec :: Rational -> StgArg -> SDoc #

Outputable NoExtFieldSilent 
Instance details

Defined in StgSyn

Outputable AltType 
Instance details

Defined in StgSyn

Methods

ppr :: AltType -> SDoc #

pprPrec :: Rational -> AltType -> SDoc #

Outputable UpdateFlag 
Instance details

Defined in StgSyn

Outputable Linkable 
Instance details

Defined in LinkerTypes

Outputable Unlinked 
Instance details

Defined in LinkerTypes

Outputable SptEntry 
Instance details

Defined in LinkerTypes

Outputable CompiledByteCode 
Instance details

Defined in ByteCodeTypes

Outputable UnlinkedBCO 
Instance details

Defined in ByteCodeTypes

Outputable CgBreakInfo 
Instance details

Defined in ByteCodeTypes

Outputable HsIPName 
Instance details

Defined in GHC.Hs.Types

Outputable NewHsTypeX 
Instance details

Defined in GHC.Hs.Types

Outputable HsTyLit 
Instance details

Defined in GHC.Hs.Types

Methods

ppr :: HsTyLit -> SDoc #

pprPrec :: Rational -> HsTyLit -> SDoc #

Outputable IfaceDecl 
Instance details

Defined in IfaceSyn

Outputable IfaceTyConParent 
Instance details

Defined in IfaceSyn

Outputable IfaceClassOp 
Instance details

Defined in IfaceSyn

Outputable IfaceAT 
Instance details

Defined in IfaceSyn

Methods

ppr :: IfaceAT -> SDoc #

pprPrec :: Rational -> IfaceAT -> SDoc #

Outputable IfaceClsInst 
Instance details

Defined in IfaceSyn

Outputable IfaceFamInst 
Instance details

Defined in IfaceSyn

Outputable IfaceRule 
Instance details

Defined in IfaceSyn

Outputable IfaceAnnotation 
Instance details

Defined in IfaceSyn

Outputable IfaceCompleteMatch 
Instance details

Defined in IfaceSyn

Outputable IfaceIdInfo 
Instance details

Defined in IfaceSyn

Outputable IfaceInfoItem 
Instance details

Defined in IfaceSyn

Outputable IfaceUnfolding 
Instance details

Defined in IfaceSyn

Outputable IfaceIdDetails 
Instance details

Defined in IfaceSyn

Outputable IfaceExpr 
Instance details

Defined in IfaceSyn

Outputable IfaceConAlt 
Instance details

Defined in IfaceSyn

Outputable IfaceJoinInfo 
Instance details

Defined in IfaceSyn

Outputable ShowHowMuch 
Instance details

Defined in IfaceSyn

Outputable RecSelParent 
Instance details

Defined in IdInfo

Outputable CafInfo 
Instance details

Defined in IdInfo

Methods

ppr :: CafInfo -> SDoc #

pprPrec :: Rational -> CafInfo -> SDoc #

Outputable TickBoxOp 
Instance details

Defined in IdInfo

Outputable LevityInfo 
Instance details

Defined in IdInfo

Outputable AltCon 
Instance details

Defined in CoreSyn

Methods

ppr :: AltCon -> SDoc #

pprPrec :: Rational -> AltCon -> SDoc #

Outputable HsSrcBang 
Instance details

Defined in DataCon

Outputable HsImplBang 
Instance details

Defined in DataCon

Outputable SrcStrictness 
Instance details

Defined in DataCon

Outputable SrcUnpackedness 
Instance details

Defined in DataCon

Outputable StrictnessMark 
Instance details

Defined in DataCon

Outputable EqRel 
Instance details

Defined in Predicate

Methods

ppr :: EqRel -> SDoc #

pprPrec :: Rational -> EqRel -> SDoc #

Outputable OverLitVal 
Instance details

Defined in GHC.Hs.Lit

Outputable Label 
Instance details

Defined in Hoopl.Label

Methods

ppr :: Label -> SDoc #

pprPrec :: Rational -> Label -> SDoc #

Outputable LabelSet 
Instance details

Defined in Hoopl.Label

Outputable Literal 
Instance details

Defined in Literal

Methods

ppr :: Literal -> SDoc #

pprPrec :: Rational -> Literal -> SDoc #

Outputable TCvSubst 
Instance details

Defined in TyCoSubst

Outputable CoercionHole 
Instance details

Defined in TyCoRep

Outputable ContextInfo 
Instance details

Defined in HieTypes

Outputable Scope 
Instance details

Defined in HieTypes

Methods

ppr :: Scope -> SDoc #

pprPrec :: Rational -> Scope -> SDoc #

Outputable TyConBndrVis 
Instance details

Defined in TyCon

Outputable AlgTyConFlav 
Instance details

Defined in TyCon

Outputable FamTyConFlav 
Instance details

Defined in TyCon

Outputable PrimRep 
Instance details

Defined in TyCon

Methods

ppr :: PrimRep -> SDoc #

pprPrec :: Rational -> PrimRep -> SDoc #

Outputable PrimElemRep 
Instance details

Defined in TyCon

Outputable TyConFlavour 
Instance details

Defined in TyCon

Outputable InScopeSet 
Instance details

Defined in VarEnv

Outputable Class 
Instance details

Defined in Class

Methods

ppr :: Class -> SDoc #

pprPrec :: Rational -> Class -> SDoc #

Outputable LiftingContext 
Instance details

Defined in Coercion

Outputable CoAxBranch 
Instance details

Defined in CoAxiom

Outputable Role 
Instance details

Defined in CoAxiom

Methods

ppr :: Role -> SDoc #

pprPrec :: Rational -> Role -> SDoc #

Outputable CoAxiomRule 
Instance details

Defined in CoAxiom

Outputable ConLike 
Instance details

Defined in ConLike

Methods

ppr :: ConLike -> SDoc #

pprPrec :: Rational -> ConLike -> SDoc #

Outputable DataCon 
Instance details

Defined in DataCon

Methods

ppr :: DataCon -> SDoc #

pprPrec :: Rational -> DataCon -> SDoc #

Outputable EqSpec 
Instance details

Defined in DataCon

Methods

ppr :: EqSpec -> SDoc #

pprPrec :: Rational -> EqSpec -> SDoc #

Outputable NoExtField 
Instance details

Defined in GHC.Hs.Extension

Outputable NoExtCon 
Instance details

Defined in GHC.Hs.Extension

Outputable IfaceAppArgs 
Instance details

Defined in IfaceType

Outputable IfaceType 
Instance details

Defined in IfaceType

Outputable IfaceTyCon 
Instance details

Defined in IfaceType

Outputable IfaceTyLit 
Instance details

Defined in IfaceType

Outputable IfaceCoercion 
Instance details

Defined in IfaceType

Outputable IfaceBndr 
Instance details

Defined in IfaceType

Outputable PatSyn 
Instance details

Defined in PatSyn

Methods

ppr :: PatSyn -> SDoc #

pprPrec :: Rational -> PatSyn -> SDoc #

Outputable ForallVisFlag 
Instance details

Defined in Var

Outputable Annotation 
Instance details

Defined in Annotations

Outputable Token 
Instance details

Defined in Lexer

Methods

ppr :: Token -> SDoc #

pprPrec :: Rational -> Token -> SDoc #

Outputable AnnKeywordId 
Instance details

Defined in ApiAnnotation

Outputable AnnotationComment 
Instance details

Defined in ApiAnnotation

Outputable RdrName 
Instance details

Defined in RdrName

Methods

ppr :: RdrName -> SDoc #

pprPrec :: Rational -> RdrName -> SDoc #

Outputable LocalRdrEnv 
Instance details

Defined in RdrName

Outputable GlobalRdrElt 
Instance details

Defined in RdrName

Outputable Parent 
Instance details

Defined in RdrName

Methods

ppr :: Parent -> SDoc #

pprPrec :: Rational -> Parent -> SDoc #

Outputable ImportSpec 
Instance details

Defined in RdrName

Outputable AvailInfo 
Instance details

Defined in Avail

Outputable HsDocString 
Instance details

Defined in GHC.Hs.Doc

Outputable DeclDocMap 
Instance details

Defined in GHC.Hs.Doc

Outputable ArgDocMap 
Instance details

Defined in GHC.Hs.Doc

Outputable ModuleOrigin 
Instance details

Defined in Packages

Outputable UnusablePackageReason 
Instance details

Defined in Packages

Outputable Type 
Instance details

Defined in TyCoRep

Methods

ppr :: Type -> SDoc #

pprPrec :: Rational -> Type -> SDoc #

Outputable TyThing 
Instance details

Defined in TyCoRep

Methods

ppr :: TyThing -> SDoc #

pprPrec :: Rational -> TyThing -> SDoc #

Outputable Coercion 
Instance details

Defined in TyCoRep

Outputable UnivCoProvenance 
Instance details

Defined in TyCoRep

Outputable TyLit 
Instance details

Defined in TyCoRep

Methods

ppr :: TyLit -> SDoc #

pprPrec :: Rational -> TyLit -> SDoc #

Outputable TyCoBinder 
Instance details

Defined in TyCoRep

Outputable MCoercion 
Instance details

Defined in TyCoRep

Outputable ArgFlag 
Instance details

Defined in Var

Methods

ppr :: ArgFlag -> SDoc #

pprPrec :: Rational -> ArgFlag -> SDoc #

Outputable AnonArgFlag 
Instance details

Defined in Var

Outputable Var 
Instance details

Defined in Var

Methods

ppr :: Var -> SDoc #

pprPrec :: Rational -> Var -> SDoc #

Outputable CmmType 
Instance details

Defined in CmmType

Methods

ppr :: CmmType -> SDoc #

pprPrec :: Rational -> CmmType -> SDoc #

Outputable Width 
Instance details

Defined in CmmType

Methods

ppr :: Width -> SDoc #

pprPrec :: Rational -> Width -> SDoc #

Outputable CoreToDo 
Instance details

Defined in CoreMonad

Outputable WarnReason 
Instance details

Defined in DynFlags

Outputable Language 
Instance details

Defined in DynFlags

Outputable SafeHaskellMode 
Instance details

Defined in DynFlags

Outputable GhcMode 
Instance details

Defined in DynFlags

Methods

ppr :: GhcMode -> SDoc #

pprPrec :: Rational -> GhcMode -> SDoc #

Outputable PackageArg 
Instance details

Defined in DynFlags

Outputable ModRenaming 
Instance details

Defined in DynFlags

Outputable PackageFlag 
Instance details

Defined in DynFlags

Outputable WarnReason 
Instance details

Defined in CmdLineParser

Outputable Phase 
Instance details

Defined in DriverPhases

Methods

ppr :: Phase -> SDoc #

pprPrec :: Rational -> Phase -> SDoc #

Outputable ForeignCall 
Instance details

Defined in ForeignCall

Outputable Safety 
Instance details

Defined in ForeignCall

Methods

ppr :: Safety -> SDoc #

pprPrec :: Rational -> Safety -> SDoc #

Outputable CExportSpec 
Instance details

Defined in ForeignCall

Outputable CCallSpec 
Instance details

Defined in ForeignCall

Outputable CCallConv 
Instance details

Defined in ForeignCall

Outputable Header 
Instance details

Defined in ForeignCall

Methods

ppr :: Header -> SDoc #

pprPrec :: Rational -> Header -> SDoc #

Outputable CType 
Instance details

Defined in ForeignCall

Methods

ppr :: CType -> SDoc #

pprPrec :: Rational -> CType -> SDoc #

Outputable SourcePackageId 
Instance details

Defined in PackageConfig

Outputable PackageName 
Instance details

Defined in PackageConfig

Outputable ModLocation 
Instance details

Defined in Module

Outputable IndefUnitId 
Instance details

Defined in Module

Outputable IndefModule 
Instance details

Defined in Module

Outputable InstalledModule 
Instance details

Defined in Module

Outputable DefUnitId 
Instance details

Defined in Module

Outputable Unique 
Instance details

Defined in Unique

Methods

ppr :: Unique -> SDoc #

pprPrec :: Rational -> Unique -> SDoc #

Outputable LeftOrRight 
Instance details

Defined in BasicTypes

Outputable Alignment 
Instance details

Defined in BasicTypes

Outputable OneShotInfo 
Instance details

Defined in BasicTypes

Outputable SwapFlag 
Instance details

Defined in BasicTypes

Outputable FunctionOrData 
Instance details

Defined in BasicTypes

Outputable StringLiteral 
Instance details

Defined in BasicTypes

Outputable WarningTxt 
Instance details

Defined in BasicTypes

Outputable Fixity 
Instance details

Defined in BasicTypes

Methods

ppr :: Fixity -> SDoc #

pprPrec :: Rational -> Fixity -> SDoc #

Outputable FixityDirection 
Instance details

Defined in BasicTypes

Outputable LexicalFixity 
Instance details

Defined in BasicTypes

Outputable TopLevelFlag 
Instance details

Defined in BasicTypes

Outputable Boxity 
Instance details

Defined in BasicTypes

Methods

ppr :: Boxity -> SDoc #

pprPrec :: Rational -> Boxity -> SDoc #

Outputable RecFlag 
Instance details

Defined in BasicTypes

Methods

ppr :: RecFlag -> SDoc #

pprPrec :: Rational -> RecFlag -> SDoc #

Outputable Origin 
Instance details

Defined in BasicTypes

Methods

ppr :: Origin -> SDoc #

pprPrec :: Rational -> Origin -> SDoc #

Outputable OverlapFlag 
Instance details

Defined in BasicTypes

Outputable OverlapMode 
Instance details

Defined in BasicTypes

Outputable TupleSort 
Instance details

Defined in BasicTypes

Outputable OccInfo 
Instance details

Defined in BasicTypes

Methods

ppr :: OccInfo -> SDoc #

pprPrec :: Rational -> OccInfo -> SDoc #

Outputable TailCallInfo 
Instance details

Defined in BasicTypes

Outputable SuccessFlag 
Instance details

Defined in BasicTypes

Outputable SourceText 
Instance details

Defined in BasicTypes

Outputable CompilerPhase 
Instance details

Defined in BasicTypes

Outputable Activation 
Instance details

Defined in BasicTypes

Outputable RuleMatchInfo 
Instance details

Defined in BasicTypes

Outputable InlinePragma 
Instance details

Defined in BasicTypes

Outputable InlineSpec 
Instance details

Defined in BasicTypes

Outputable IntegralLit 
Instance details

Defined in BasicTypes

Outputable FractionalLit 
Instance details

Defined in BasicTypes

Outputable IntWithInf 
Instance details

Defined in BasicTypes

Outputable TypeOrKind 
Instance details

Defined in BasicTypes

Outputable IdDetails 
Instance details

Defined in IdInfo

Outputable RealSrcLoc 
Instance details

Defined in SrcLoc

Outputable SrcLoc 
Instance details

Defined in SrcLoc

Methods

ppr :: SrcLoc -> SDoc #

pprPrec :: Rational -> SrcLoc -> SDoc #

Outputable RealSrcSpan 
Instance details

Defined in SrcLoc

Outputable SrcSpan 
Instance details

Defined in SrcLoc

Methods

ppr :: SrcSpan -> SDoc #

pprPrec :: Rational -> SrcSpan -> SDoc #

Outputable MetaDetails 
Instance details

Defined in TcType

Outputable TcTyVarDetails 
Instance details

Defined in TcType

Outputable PprStyle 
Instance details

Defined in Outputable

Outputable QualifyName 
Instance details

Defined in Outputable

Outputable Module 
Instance details

Defined in Module

Methods

ppr :: Module -> SDoc #

pprPrec :: Rational -> Module -> SDoc #

Outputable ModuleName 
Instance details

Defined in Module

Outputable UnitId 
Instance details

Defined in Module

Methods

ppr :: UnitId -> SDoc #

pprPrec :: Rational -> UnitId -> SDoc #

Outputable InstalledUnitId 
Instance details

Defined in Module

Outputable ComponentId 
Instance details

Defined in Module

Outputable FastString 
Instance details

Defined in Outputable

Outputable TyCon 
Instance details

Defined in TyCon

Methods

ppr :: TyCon -> SDoc #

pprPrec :: Rational -> TyCon -> SDoc #

Outputable SDoc 
Instance details

Defined in Outputable

Methods

ppr :: SDoc -> SDoc #

pprPrec :: Rational -> SDoc -> SDoc #

Outputable OccName 
Instance details

Defined in OccName

Methods

ppr :: OccName -> SDoc #

pprPrec :: Rational -> OccName -> SDoc #

Outputable Name 
Instance details

Defined in Name

Methods

ppr :: Name -> SDoc #

pprPrec :: Rational -> Name -> SDoc #

Outputable Delta 
Instance details

Defined in GHC.HsToCore.PmCheck.Types

Methods

ppr :: Delta -> SDoc #

pprPrec :: Rational -> Delta -> SDoc #

Outputable Comment 
Instance details

Defined in Language.Haskell.GHC.ExactPrint.Types

Methods

ppr :: Comment -> SDoc #

pprPrec :: Rational -> Comment -> SDoc #

Outputable DeltaPos 
Instance details

Defined in Language.Haskell.GHC.ExactPrint.Types

Outputable Annotation 
Instance details

Defined in Language.Haskell.GHC.ExactPrint.Types

Outputable AnnKey 
Instance details

Defined in Language.Haskell.GHC.ExactPrint.Types

Methods

ppr :: AnnKey -> SDoc #

pprPrec :: Rational -> AnnKey -> SDoc #

Outputable AnnConName 
Instance details

Defined in Language.Haskell.GHC.ExactPrint.Types

Outputable KeywordId 
Instance details

Defined in Language.Haskell.GHC.ExactPrint.Types

Outputable HieName 
Instance details

Defined in Compat.HieBin

Methods

ppr :: HieName -> SDoc #

pprPrec :: Rational -> HieName -> SDoc #

Outputable NameSort 
Instance details

Defined in Name

Methods

ppr :: NameSort -> SDoc #

pprPrec :: Rational -> NameSort -> SDoc #

Outputable FamilyInstEnv 
Instance details

Defined in FamInstEnv

Methods

ppr :: FamilyInstEnv -> SDoc #

pprPrec :: Rational -> FamilyInstEnv -> SDoc #

Outputable ClsInstEnv 
Instance details

Defined in InstEnv

Methods

ppr :: ClsInstEnv -> SDoc #

pprPrec :: Rational -> ClsInstEnv -> SDoc #

Outputable LibrarySpec 
Instance details

Defined in Linker

Methods

ppr :: LibrarySpec -> SDoc #

pprPrec :: Rational -> LibrarySpec -> SDoc #

Outputable IfaceDeclExtras 
Instance details

Defined in MkIface

Methods

ppr :: IfaceDeclExtras -> SDoc #

pprPrec :: Rational -> IfaceDeclExtras -> SDoc #

Outputable UnitVisibility 
Instance details

Defined in Packages

Methods

ppr :: UnitVisibility -> SDoc #

pprPrec :: Rational -> UnitVisibility -> SDoc #

Outputable ResTyGADTHook 
Instance details

Defined in Language.Haskell.GHC.ExactPrint.Annotater

Methods

ppr :: ResTyGADTHook -> SDoc #

pprPrec :: Rational -> ResTyGADTHook -> SDoc #

Outputable CmmCat 
Instance details

Defined in CmmType

Methods

ppr :: CmmCat -> SDoc #

pprPrec :: Rational -> CmmCat -> SDoc #

Outputable FloatingBind 
Instance details

Defined in CorePrep

Methods

ppr :: FloatingBind -> SDoc #

pprPrec :: Rational -> FloatingBind -> SDoc #

Outputable Floats 
Instance details

Defined in CorePrep

Methods

ppr :: Floats -> SDoc #

pprPrec :: Rational -> Floats -> SDoc #

Outputable OkToSpec 
Instance details

Defined in CorePrep

Methods

ppr :: OkToSpec -> SDoc #

pprPrec :: Rational -> OkToSpec -> SDoc #

Outputable Discr 
Instance details

Defined in ByteCodeGen

Methods

ppr :: Discr -> SDoc #

pprPrec :: Rational -> Discr -> SDoc #

Outputable a => Outputable [a] 
Instance details

Defined in Outputable

Methods

ppr :: [a] -> SDoc #

pprPrec :: Rational -> [a] -> SDoc #

Outputable a => Outputable (Maybe a) 
Instance details

Defined in Outputable

Methods

ppr :: Maybe a -> SDoc #

pprPrec :: Rational -> Maybe a -> SDoc #

Outputable elt => Outputable (IntMap elt) 
Instance details

Defined in Outputable

Methods

ppr :: IntMap elt -> SDoc #

pprPrec :: Rational -> IntMap elt -> SDoc #

Outputable a => Outputable (SCC a) 
Instance details

Defined in Outputable

Methods

ppr :: SCC a -> SDoc #

pprPrec :: Rational -> SCC a -> SDoc #

Outputable a => Outputable (Set a) 
Instance details

Defined in Outputable

Methods

ppr :: Set a -> SDoc #

pprPrec :: Rational -> Set a -> SDoc #

OutputableBndrId a => Outputable (InstInfo (GhcPass a)) 
Instance details

Defined in TcEnv

Methods

ppr :: InstInfo (GhcPass a) -> SDoc #

pprPrec :: Rational -> InstInfo (GhcPass a) -> SDoc #

Outputable a => Outputable (Shared a) 
Instance details

Defined in GHC.HsToCore.PmCheck.Types

Methods

ppr :: Shared a -> SDoc #

pprPrec :: Rational -> Shared a -> SDoc #

Outputable a => Outputable (SharedDIdEnv a) 
Instance details

Defined in GHC.HsToCore.PmCheck.Types

Outputable (PatBuilder GhcPs) 
Instance details

Defined in RdrHsSyn

OutputableBndrId p => Outputable (HsModule (GhcPass p)) 
Instance details

Defined in GHC.Hs

Methods

ppr :: HsModule (GhcPass p) -> SDoc #

pprPrec :: Rational -> HsModule (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (HsCmdTop (GhcPass p)) 
Instance details

Defined in GHC.Hs.Expr

Methods

ppr :: HsCmdTop (GhcPass p) -> SDoc #

pprPrec :: Rational -> HsCmdTop (GhcPass p) -> SDoc #

OutputableBndrId idL => Outputable (ApplicativeArg (GhcPass idL)) 
Instance details

Defined in GHC.Hs.Expr

OutputableBndrId p => Outputable (HsSplicedThing (GhcPass p)) 
Instance details

Defined in GHC.Hs.Expr

OutputableBndrId p => Outputable (HsBracket (GhcPass p)) 
Instance details

Defined in GHC.Hs.Expr

OutputableBndrId p => Outputable (ArithSeqInfo (GhcPass p)) 
Instance details

Defined in GHC.Hs.Expr

OutputableBndr id => Outputable (HsMatchContext id) 
Instance details

Defined in GHC.Hs.Expr

(Outputable (GhcPass p), Outputable (NameOrRdrName (GhcPass p))) => Outputable (HsStmtContext (GhcPass p)) 
Instance details

Defined in GHC.Hs.Expr

OutputableBndrId p => Outputable (HsDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

Methods

ppr :: HsDecl (GhcPass p) -> SDoc #

pprPrec :: Rational -> HsDecl (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (HsGroup (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

Methods

ppr :: HsGroup (GhcPass p) -> SDoc #

pprPrec :: Rational -> HsGroup (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (SpliceDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndrId p => Outputable (TyClDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

Methods

ppr :: TyClDecl (GhcPass p) -> SDoc #

pprPrec :: Rational -> TyClDecl (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (TyClGroup (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndrId p => Outputable (FamilyDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

Outputable (FamilyInfo pass) 
Instance details

Defined in GHC.Hs.Decls

Methods

ppr :: FamilyInfo pass -> SDoc #

pprPrec :: Rational -> FamilyInfo pass -> SDoc #

OutputableBndrId p => Outputable (HsDataDefn (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndrId p => Outputable (HsDerivingClause (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndrId p => Outputable (StandaloneKindSig (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndrId p => Outputable (ConDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

Methods

ppr :: ConDecl (GhcPass p) -> SDoc #

pprPrec :: Rational -> ConDecl (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (TyFamInstDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndrId p => Outputable (DataFamInstDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndrId p => Outputable (ClsInstDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndrId p => Outputable (InstDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

Methods

ppr :: InstDecl (GhcPass p) -> SDoc #

pprPrec :: Rational -> InstDecl (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (DerivDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndrId p => Outputable (DerivStrategy (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndrId p => Outputable (DefaultDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndrId p => Outputable (ForeignDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndrId p => Outputable (RuleDecls (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndrId p => Outputable (RuleDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

Methods

ppr :: RuleDecl (GhcPass p) -> SDoc #

pprPrec :: Rational -> RuleDecl (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (RuleBndr (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

Methods

ppr :: RuleBndr (GhcPass p) -> SDoc #

pprPrec :: Rational -> RuleBndr (GhcPass p) -> SDoc #

OutputableBndr (IdP (GhcPass p)) => Outputable (WarnDecls (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndr (IdP (GhcPass p)) => Outputable (WarnDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

Methods

ppr :: WarnDecl (GhcPass p) -> SDoc #

pprPrec :: Rational -> WarnDecl (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (AnnDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

Methods

ppr :: AnnDecl (GhcPass p) -> SDoc #

pprPrec :: Rational -> AnnDecl (GhcPass p) -> SDoc #

OutputableBndr (IdP (GhcPass p)) => Outputable (RoleAnnotDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.Decls

OutputableBndrId p => Outputable (ABExport (GhcPass p)) 
Instance details

Defined in GHC.Hs.Binds

Methods

ppr :: ABExport (GhcPass p) -> SDoc #

pprPrec :: Rational -> ABExport (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (HsIPBinds (GhcPass p)) 
Instance details

Defined in GHC.Hs.Binds

OutputableBndrId p => Outputable (IPBind (GhcPass p)) 
Instance details

Defined in GHC.Hs.Binds

Methods

ppr :: IPBind (GhcPass p) -> SDoc #

pprPrec :: Rational -> IPBind (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (Sig (GhcPass p)) 
Instance details

Defined in GHC.Hs.Binds

Methods

ppr :: Sig (GhcPass p) -> SDoc #

pprPrec :: Rational -> Sig (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (FixitySig (GhcPass p)) 
Instance details

Defined in GHC.Hs.Binds

Outputable a => Outputable (RecordPatSynField a) 
Instance details

Defined in GHC.Hs.Binds

Outputable a => Outputable (CoreMap a) 
Instance details

Defined in CoreMap

Methods

ppr :: CoreMap a -> SDoc #

pprPrec :: Rational -> CoreMap a -> SDoc #

Outputable instr => Outputable (GenBasicBlock instr) 
Instance details

Defined in Cmm

Methods

ppr :: GenBasicBlock instr -> SDoc #

pprPrec :: Rational -> GenBasicBlock instr -> SDoc #

Outputable instr => Outputable (ListGraph instr) 
Instance details

Defined in Cmm

Methods

ppr :: ListGraph instr -> SDoc #

pprPrec :: Rational -> ListGraph instr -> SDoc #

OutputablePass pass => Outputable (GenStgTopBinding pass) 
Instance details

Defined in StgSyn

OutputablePass pass => Outputable (GenStgBinding pass) 
Instance details

Defined in StgSyn

Methods

ppr :: GenStgBinding pass -> SDoc #

pprPrec :: Rational -> GenStgBinding pass -> SDoc #

OutputablePass pass => Outputable (GenStgExpr pass) 
Instance details

Defined in StgSyn

Methods

ppr :: GenStgExpr pass -> SDoc #

pprPrec :: Rational -> GenStgExpr pass -> SDoc #

OutputablePass pass => Outputable (GenStgRhs pass) 
Instance details

Defined in StgSyn

Methods

ppr :: GenStgRhs pass -> SDoc #

pprPrec :: Rational -> GenStgRhs pass -> SDoc #

OutputableBndrId p => Outputable (LHsQTyVars (GhcPass p)) 
Instance details

Defined in GHC.Hs.Types

OutputableBndrId p => Outputable (HsTyVarBndr (GhcPass p)) 
Instance details

Defined in GHC.Hs.Types

OutputableBndrId p => Outputable (HsType (GhcPass p)) 
Instance details

Defined in GHC.Hs.Types

Methods

ppr :: HsType (GhcPass p) -> SDoc #

pprPrec :: Rational -> HsType (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (ConDeclField (GhcPass p)) 
Instance details

Defined in GHC.Hs.Types

Outputable (FieldOcc pass) 
Instance details

Defined in GHC.Hs.Types

Methods

ppr :: FieldOcc pass -> SDoc #

pprPrec :: Rational -> FieldOcc pass -> SDoc #

Outputable (AmbiguousFieldOcc (GhcPass p)) 
Instance details

Defined in GHC.Hs.Types

Outputable b => Outputable (TaggedBndr b) 
Instance details

Defined in CoreSyn

Methods

ppr :: TaggedBndr b -> SDoc #

pprPrec :: Rational -> TaggedBndr b -> SDoc #

Outputable a => Outputable (UnifyResultM a) 
Instance details

Defined in Unify

Outputable (HsLit (GhcPass p)) 
Instance details

Defined in GHC.Hs.Lit

Methods

ppr :: HsLit (GhcPass p) -> SDoc #

pprPrec :: Rational -> HsLit (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (HsOverLit (GhcPass p)) 
Instance details

Defined in GHC.Hs.Lit

Outputable a => Outputable (LabelMap a) 
Instance details

Defined in Hoopl.Label

Methods

ppr :: LabelMap a -> SDoc #

pprPrec :: Rational -> LabelMap a -> SDoc #

Outputable a => Outputable (IdentifierDetails a) 
Instance details

Defined in HieTypes

Outputable (CoAxiom br) 
Instance details

Defined in CoAxiom

Methods

ppr :: CoAxiom br -> SDoc #

pprPrec :: Rational -> CoAxiom br -> SDoc #

OutputableBndrId p => Outputable (HsExpr (GhcPass p)) 
Instance details

Defined in GHC.Hs.Expr

Methods

ppr :: HsExpr (GhcPass p) -> SDoc #

pprPrec :: Rational -> HsExpr (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (HsCmd (GhcPass p)) 
Instance details

Defined in GHC.Hs.Expr

Methods

ppr :: HsCmd (GhcPass p) -> SDoc #

pprPrec :: Rational -> HsCmd (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (HsSplice (GhcPass p)) 
Instance details

Defined in GHC.Hs.Expr

Methods

ppr :: HsSplice (GhcPass p) -> SDoc #

pprPrec :: Rational -> HsSplice (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (SyntaxExpr (GhcPass p)) 
Instance details

Defined in GHC.Hs.Expr

OutputableBndrId p => Outputable (ImportDecl (GhcPass p)) 
Instance details

Defined in GHC.Hs.ImpExp

OutputableBndr name => Outputable (IEWrappedName name) 
Instance details

Defined in GHC.Hs.ImpExp

Methods

ppr :: IEWrappedName name -> SDoc #

pprPrec :: Rational -> IEWrappedName name -> SDoc #

OutputableBndrId p => Outputable (IE (GhcPass p)) 
Instance details

Defined in GHC.Hs.ImpExp

Methods

ppr :: IE (GhcPass p) -> SDoc #

pprPrec :: Rational -> IE (GhcPass p) -> SDoc #

OutputableBndrId p => Outputable (Pat (GhcPass p)) 
Instance details

Defined in GHC.Hs.Pat

Methods

ppr :: Pat (GhcPass p) -> SDoc #

pprPrec :: Rational -> Pat (GhcPass p) -> SDoc #

Outputable name => Outputable (AnnTarget name) 
Instance details

Defined in Annotations

Methods

ppr :: AnnTarget name -> SDoc #

pprPrec :: Rational -> AnnTarget name -> SDoc #

Outputable a => Outputable (FieldLbl a) 
Instance details

Defined in FieldLabel

Methods

ppr :: FieldLbl a -> SDoc #

pprPrec :: Rational -> FieldLbl a -> SDoc #

Outputable a => Outputable (OccEnv a) 
Instance details

Defined in OccName

Methods

ppr :: OccEnv a -> SDoc #

pprPrec :: Rational -> OccEnv a -> SDoc #

Outputable a => Outputable (Bag a) 
Instance details

Defined in Bag

Methods

ppr :: Bag a -> SDoc #

pprPrec :: Rational -> Bag a -> SDoc #

OutputableBndr a => Outputable (BooleanFormula a) 
Instance details

Defined in BooleanFormula

Outputable a => Outputable (UniqDSet a) 
Instance details

Defined in UniqDSet

Methods

ppr :: UniqDSet a -> SDoc #

pprPrec :: Rational -> UniqDSet a -> SDoc #

Outputable a => Outputable (UniqDFM a) 
Instance details

Defined in UniqDFM

Methods

ppr :: UniqDFM a -> SDoc #

pprPrec :: Rational -> UniqDFM a -> SDoc #

Outputable a => Outputable (UniqSet a) 
Instance details

Defined in UniqSet

Methods

ppr :: UniqSet a -> SDoc #

pprPrec :: Rational -> UniqSet a -> SDoc #

Outputable a => Outputable (UniqFM a) 
Instance details

Defined in UniqFM

Methods

ppr :: UniqFM a -> SDoc #

pprPrec :: Rational -> UniqFM a -> SDoc #

Outputable (DefMethSpec ty) 
Instance details

Defined in BasicTypes

Methods

ppr :: DefMethSpec ty -> SDoc #

pprPrec :: Rational -> DefMethSpec ty -> SDoc #

Outputable a => Outputable (OrdList a) 
Instance details

Defined in OrdList

Methods

ppr :: OrdList a -> SDoc #

pprPrec :: Rational -> OrdList a -> SDoc #

Outputable a => Outputable (Pair a) 
Instance details

Defined in Pair

Methods

ppr :: Pair a -> SDoc #

pprPrec :: Rational -> Pair a -> SDoc #

Show a => Outputable (ACS' a) 
Instance details

Defined in Language.Haskell.GHC.ExactPrint.Types

Methods

ppr :: ACS' a -> SDoc #

pprPrec :: Rational -> ACS' a -> SDoc #

Outputable a => Outputable (OnOff a) 
Instance details

Defined in DynFlags

Methods

ppr :: OnOff a -> SDoc #

pprPrec :: Rational -> OnOff a -> SDoc #

Outputable a => Outputable (TypeMapG a) 
Instance details

Defined in CoreMap

Methods

ppr :: TypeMapG a -> SDoc #

pprPrec :: Rational -> TypeMapG a -> SDoc #

(Outputable a, Outputable b) => Outputable (Either a b) 
Instance details

Defined in Outputable

Methods

ppr :: Either a b -> SDoc #

pprPrec :: Rational -> Either a b -> SDoc #

(Outputable a, Outputable b) => Outputable (a, b) 
Instance details

Defined in Outputable

Methods

ppr :: (a, b) -> SDoc #

pprPrec :: Rational -> (a, b) -> SDoc #

(Outputable key, Outputable elt) => Outputable (Map key elt) 
Instance details

Defined in Outputable

Methods

ppr :: Map key elt -> SDoc #

pprPrec :: Rational -> Map key elt -> SDoc #

(OutputableBndrId pr, Outputable body) => Outputable (Match (GhcPass pr) body) 
Instance details

Defined in GHC.Hs.Expr

Methods

ppr :: Match (GhcPass pr) body -> SDoc #

pprPrec :: Rational -> Match (GhcPass pr) body -> SDoc #

(Outputable (StmtLR idL idL (LHsExpr idL)), Outputable (XXParStmtBlock idL idR)) => Outputable (ParStmtBlock idL idR) 
Instance details

Defined in GHC.Hs.Expr

Methods

ppr :: ParStmtBlock idL idR -> SDoc #

pprPrec :: Rational -> ParStmtBlock idL idR -> SDoc #

Outputable arg => Outputable (HsRecFields p arg) 
Instance details

Defined in GHC.Hs.Pat

Methods

ppr :: HsRecFields p arg -> SDoc #

pprPrec :: Rational -> HsRecFields p arg -> SDoc #

(Outputable p, Outputable arg) => Outputable (HsRecField' p arg) 
Instance details

Defined in GHC.Hs.Pat

Methods

ppr :: HsRecField' p arg -> SDoc #

pprPrec :: Rational -> HsRecField' p arg -> SDoc #

(OutputableBndrId pl, OutputableBndrId pr) => Outputable (HsLocalBindsLR (GhcPass pl) (GhcPass pr)) 
Instance details

Defined in GHC.Hs.Binds

(OutputableBndrId pl, OutputableBndrId pr) => Outputable (HsValBindsLR (GhcPass pl) (GhcPass pr)) 
Instance details

Defined in GHC.Hs.Binds

(OutputableBndrId pl, OutputableBndrId pr) => Outputable (HsBindLR (GhcPass pl) (GhcPass pr)) 
Instance details

Defined in GHC.Hs.Binds

Methods

ppr :: HsBindLR (GhcPass pl) (GhcPass pr) -> SDoc #

pprPrec :: Rational -> HsBindLR (GhcPass pl) (GhcPass pr) -> SDoc #

(OutputableBndrId l, OutputableBndrId r, Outputable (XXPatSynBind (GhcPass l) (GhcPass r))) => Outputable (PatSynBind (GhcPass l) (GhcPass r)) 
Instance details

Defined in GHC.Hs.Binds

Outputable thing => Outputable (HsImplicitBndrs (GhcPass p) thing) 
Instance details

Defined in GHC.Hs.Types

Methods

ppr :: HsImplicitBndrs (GhcPass p) thing -> SDoc #

pprPrec :: Rational -> HsImplicitBndrs (GhcPass p) thing -> SDoc #

Outputable thing => Outputable (HsWildCardBndrs (GhcPass p) thing) 
Instance details

Defined in GHC.Hs.Types

Methods

ppr :: HsWildCardBndrs (GhcPass p) thing -> SDoc #

pprPrec :: Rational -> HsWildCardBndrs (GhcPass p) thing -> SDoc #

(Outputable arg, Outputable rec) => Outputable (HsConDetails arg rec) 
Instance details

Defined in GHC.Hs.Types

Methods

ppr :: HsConDetails arg rec -> SDoc #

pprPrec :: Rational -> HsConDetails arg rec -> SDoc #

(Outputable tm, Outputable ty) => Outputable (HsArg tm ty) 
Instance details

Defined in GHC.Hs.Types

Methods

ppr :: HsArg tm ty -> SDoc #

pprPrec :: Rational -> HsArg tm ty -> SDoc #

(TrieMap m, Outputable a) => Outputable (ListMap m a) 
Instance details

Defined in TrieMap

Methods

ppr :: ListMap m a -> SDoc #

pprPrec :: Rational -> ListMap m a -> SDoc #

(Outputable a, Outputable (m a)) => Outputable (GenMap m a) 
Instance details

Defined in TrieMap

Methods

ppr :: GenMap m a -> SDoc #

pprPrec :: Rational -> GenMap m a -> SDoc #

Outputable tv => Outputable (VarBndr tv ArgFlag) 
Instance details

Defined in Var

OutputableBndr tv => Outputable (VarBndr tv TyConBndrVis) 
Instance details

Defined in TyCon

(Outputable l, Outputable e) => Outputable (GenLocated l e) 
Instance details

Defined in SrcLoc

Methods

ppr :: GenLocated l e -> SDoc #

pprPrec :: Rational -> GenLocated l e -> SDoc #

(Outputable a, Outputable b, Outputable c) => Outputable (a, b, c) 
Instance details

Defined in Outputable

Methods

ppr :: (a, b, c) -> SDoc #

pprPrec :: Rational -> (a, b, c) -> SDoc #

(OutputableBndrId pl, OutputableBndrId pr, Outputable body) => Outputable (StmtLR (GhcPass pl) (GhcPass pr) body) 
Instance details

Defined in GHC.Hs.Expr

Methods

ppr :: StmtLR (GhcPass pl) (GhcPass pr) body -> SDoc #

pprPrec :: Rational -> StmtLR (GhcPass pl) (GhcPass pr) body -> SDoc #

(Outputable a, Outputable b, Outputable c, Outputable d) => Outputable (a, b, c, d) 
Instance details

Defined in Outputable

Methods

ppr :: (a, b, c, d) -> SDoc #

pprPrec :: Rational -> (a, b, c, d) -> SDoc #

(Outputable a, Outputable b, Outputable c, Outputable d, Outputable e) => Outputable (a, b, c, d, e) 
Instance details

Defined in Outputable

Methods

ppr :: (a, b, c, d, e) -> SDoc #

pprPrec :: Rational -> (a, b, c, d, e) -> SDoc #

(Outputable a, Outputable b, Outputable c, Outputable d, Outputable e, Outputable f) => Outputable (a, b, c, d, e, f) 
Instance details

Defined in Outputable

Methods

ppr :: (a, b, c, d, e, f) -> SDoc #

pprPrec :: Rational -> (a, b, c, d, e, f) -> SDoc #

(Outputable a, Outputable b, Outputable c, Outputable d, Outputable e, Outputable f, Outputable g) => Outputable (a, b, c, d, e, f, g) 
Instance details

Defined in Outputable

Methods

ppr :: (a, b, c, d, e, f, g) -> SDoc #

pprPrec :: Rational -> (a, b, c, d, e, f, g) -> SDoc #

ppr :: Outputable a => a -> SDoc #

pprPanic :: HasCallStack => String -> SDoc -> a #

Throw an exception saying "bug in GHC"

vcat :: [SDoc] -> SDoc #

Concatenate SDoc vertically with dovetailing

(<+>) :: SDoc -> SDoc -> SDoc #

Join two SDoc together horizontally with a gap between them

($$) :: SDoc -> SDoc -> SDoc #

Join two SDoc together vertically; if there is no vertical overlap it "dovetails" the two onto one line

hang #

Arguments

:: SDoc

The header

-> Int

Amount to indent the hung body

-> SDoc

The hung body, indented and placed below the header

-> SDoc 

nest :: Int -> SDoc -> SDoc #

Indent SDoc some specified amount

printWithoutUniques :: Outputable a => a -> String Source #

A compatible function to print Outputable instances without unique symbols.

It print with a user-friendly style like: a_a4ME as a.

mkPrintUnqualified :: DynFlags -> GlobalRdrEnv -> PrintUnqualified #

Creates some functions that work out the best ways to format names for the user according to a set of heuristics.

data PrintUnqualified #

When printing code that contains original names, we need to map the original names back to something the user understands. This is the purpose of the triple of functions that gets passed around when rendering SDoc.

Parser errors

Error infrastructure