hie-bios-0.12.0: Set up a GHC API session
Safe HaskellSafe-Inferred
LanguageHaskell2010

HIE.Bios.Ghc.Logger

Synopsis

Documentation

withLogger :: GhcMonad m => (DynFlags -> DynFlags) -> m () -> m (Either String String) Source #

Set the session flag (e.g. "-Wall" or "-w:") then executes a body. Log messages are returned as String. Right is success and Left is failure.