Safe Haskell | None |
---|---|
Language | Haskell2010 |
Printing related functions that depend on session state (DynFlags)
Synopsis
- showSDoc :: DynFlags -> SDoc -> String
- showSDocUnsafe :: SDoc -> String
- showSDocForUser :: DynFlags -> UnitState -> PrintUnqualified -> SDoc -> String
- showPpr :: Outputable a => DynFlags -> a -> String
- showPprUnsafe :: Outputable a => a -> String
- printForUser :: DynFlags -> Handle -> PrintUnqualified -> Depth -> SDoc -> IO ()
Documentation
showSDocUnsafe :: SDoc -> String Source #
showSDocForUser :: DynFlags -> UnitState -> PrintUnqualified -> SDoc -> String Source #
Allows caller to specify the PrintUnqualified to use
showPprUnsafe :: Outputable a => a -> String Source #
printForUser :: DynFlags -> Handle -> PrintUnqualified -> Depth -> SDoc -> IO () Source #