projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c14fb1c
)
add doc for the ExitCode type
author
Simon Marlow
<marlowsd@gmail.com>
Tue, 22 Jun 2010 12:09:30 +0000
(12:09 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Tue, 22 Jun 2010 12:09:30 +0000
(12:09 +0000)
GHC/IO/Exception.hs
patch
|
blob
|
history
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