From: Simon Marlow Date: Tue, 22 Jun 2010 12:09:30 +0000 (+0000) Subject: add doc for the ExitCode type X-Git-Url: http://git.megacz.com/?p=ghc-base.git;a=commitdiff_plain;h=62b5fe81ea1f398c4b8d1db5bd25759266f5d74d add doc for the ExitCode type --- diff --git a/GHC/IO/Exception.hs b/GHC/IO/Exception.hs index 2f09fd7..219047a 100644 --- 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