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