ghc-lib-parser-9.10.1.20240511: The GHC API, decoupled from GHC versions
Safe HaskellIgnore
LanguageGHC2021

GHC.Driver.Ppr

Description

Printing related functions that depend on session state (DynFlags)

Synopsis

Documentation

showSDoc :: DynFlags -> SDoc -> String Source #

Show a SDoc as a String with the default user style

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

Allows caller to specify the NamePprCtx to use