ghc-lib-parser-9.8.1.20231009: The GHC API, decoupled from GHC versions
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Driver.Ppr

Description

Printing related functions that depend on session state (DynFlags)

Synopsis

Documentation

showSDoc :: DynFlags -> SDoc -> String #

Show a SDoc as a String with the default user style

showSDocForUser :: DynFlags -> UnitState -> NamePprCtx -> SDoc -> String #

Allows caller to specify the NamePprCtx to use

printForUser :: DynFlags -> Handle -> NamePprCtx -> Depth -> SDoc -> IO () #