Loading...

GHC.Driver.Ppr

Printing related functions that depend on session state (DynFlags)

Documentation

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

Show a SDoc as a String with the default user style

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

Allows caller to specify the PrintUnqualified to use