ZVON > References > Haskell reference |
Intro / Search / ZVON |
| Indexes | Syntax | Prelude | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | >> System << | Time | Locale | CPUTime | Random |
Module: | System |
---|---|
Datatype: | ExitCode |
Description: | The ExitCode type defines the exit codes that a program can return. ExitSuccess indicates successful termination; and ExitFailure code indicates program failure with value code. The exact interpretation of code is operating-system dependent. In particular, some values of code may be prohibited (for instance, 0 on a POSIX-compliant system). |
Definition: | data ExitCode = ExitSuccess | ExitFailure Int deriving (Eq, Ord, Read, Show) |
In function types: | ExitCode -> IO a : exitWith String -> IO ExitCode : system |