hie-bios-0.8.1: Set up a GHC API session
Safe HaskellNone
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.