Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
System.Exit.Compat
Documentation
Constructors
ExitSuccess | |
ExitFailure Int |
Instances
Exception ExitCode | |||||
Defined in GHC.Internal.IO.Exception Methods toException :: ExitCode -> SomeException # fromException :: SomeException -> Maybe ExitCode # displayException :: ExitCode -> String # backtraceDesired :: ExitCode -> Bool # | |||||
Generic ExitCode | |||||
Defined in GHC.Internal.IO.Exception Associated Types
| |||||
Read ExitCode | |||||
Show ExitCode | |||||
Eq ExitCode | |||||
Ord ExitCode | |||||
Defined in GHC.Internal.IO.Exception | |||||
type Rep ExitCode | |||||
Defined in GHC.Internal.IO.Exception type Rep ExitCode = D1 ('MetaData "ExitCode" "GHC.Internal.IO.Exception" "ghc-internal" '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 #