hie-bios-0.1.1: Set up a GHC API session
HIE.Bios.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 #