projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add doc for the ExitCode type
[ghc-base.git]
/
GHC
/
IO
/
Exception.hs
diff --git
a/GHC/IO/Exception.hs
b/GHC/IO/Exception.hs
index
2f09fd7
..
219047a
100644
(file)
--- a/
GHC/IO/Exception.hs
+++ b/
GHC/IO/Exception.hs
@@
-169,6
+169,7
@@
instance Show ArrayException where
-- We need it here because it is used in ExitException in the
-- Exception datatype (above).
+-- | Defines the exit codes that a program can return.
data ExitCode
= ExitSuccess -- ^ indicates successful termination;
| ExitFailure Int