Prime -> 2010
[haskell-report.git] / report / lib-hdrs / System.hs
1 module System (
2 ExitCode(ExitSuccess,ExitFailure),
3 getArgs, getProgName, getEnv, system, exitWith, exitFailure
4 ) where
5
6 data ExitCode = ExitSuccess | ExitFailure Int
7 deriving (Eq, Ord, Read, Show)
8
9 getArgs :: IO [String]
10 getProgName :: IO String
11 getEnv :: String -> IO String
12 system :: String -> IO ExitCode
13 exitWith :: ExitCode -> IO a
14 exitFailure :: IO a