add doc for the ExitCode type
[ghc-base.git] / GHC / IO / Exception.hs
index 2f09fd7..219047a 100644 (file)
@@ -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