| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
System.Exit.Compat
Documentation
Constructors
| ExitSuccess | |
| ExitFailure Int |
Instances
| Exception ExitCode | |||||
Defined in GHC.IO.Exception Methods toException :: ExitCode -> SomeException # fromException :: SomeException -> Maybe ExitCode # displayException :: ExitCode -> String # | |||||
| Generic ExitCode | |||||
Defined in GHC.IO.Exception Associated Types
| |||||
| Read ExitCode | |||||
| Show ExitCode | |||||
| Eq ExitCode | |||||
| Ord ExitCode | |||||
Defined in GHC.IO.Exception | |||||
| type Rep ExitCode | |||||
Defined in GHC.IO.Exception type Rep ExitCode = D1 ('MetaData "ExitCode" "GHC.IO.Exception" "base" 'False) (C1 ('MetaCons "ExitSuccess" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ExitFailure" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |||||
exitFailure :: IO a #
exitSuccess :: IO a #