add doc for the ExitCode type
authorSimon Marlow <marlowsd@gmail.com>
Tue, 22 Jun 2010 12:09:30 +0000 (12:09 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 22 Jun 2010 12:09:30 +0000 (12:09 +0000)
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