ghc-7.0.1: The GHC API

ErrUtils

Synopsis

Documentation

data ErrMsg Source

Instances

doIfSet :: Bool -> IO () -> IO ()Source

dumpSDoc :: DynFlags -> DynFlag -> String -> SDoc -> IO ()Source

Write out a dump. If --dump-to-file is set then this goes to a file. otherwise emit to stdout.