hie-bios-0.2.0: Set up a GHC API session
HIE.Bios.Ghc.Logger
withLogger :: GhcMonad m => Options -> (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.
String
checkErrorPrefix :: String Source #
getSrcSpan :: SrcSpan -> Maybe (Int, Int, Int, Int) Source #