GHC.Toolchain.Utils
expectJust :: String -> Maybe a -> M a Source #
expectFileExists :: FilePath -> String -> M () Source #
withTempDir :: (FilePath -> M a) -> M a Source #
oneOf :: String -> [M b] -> M b Source #
oneOf' :: [String] -> [M b] -> M b Source #
Like oneOf but takes a multi-line error message if none of the checks succeed.
oneOf
isSuccess :: ExitCode -> Bool Source #