Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- unsafeRenderStringColored :: Doc -> String
- traceDoc :: Doc -> a -> a
- debugDoc :: Doc -> IO ()
- fancyPrinters :: Printers
- environmentHelpColor :: ([String], [String])
- environmentHelpEscape :: ([String], [String])
- environmentHelpEscapeWhite :: ([String], [String])
- ePutDocLn :: Doc -> IO ()
Documentation
fancyPrinters :: Printers Source #
returns a set of printers suitable for outputting
to fancyPrinters
hh
environmentHelpColor :: ([String], [String]) Source #
environmentHelpEscape :: ([String], [String]) Source #
environmentHelpEscapeWhite :: ([String], [String]) Source #
ePutDocLn :: Doc -> IO () Source #
eputDocLn
puts a Doc
, followed by a newline to stderr using
fancyPrinters
. Like putDocLn, it encodes with the user's locale.
This function is the recommended way to output messages that should
be visible to users on the console, but cannot (or should not) be
silenced even when --quiet is in effect.