[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / lib / haskell-1.3 / LibSystem_p.hi
1 {-# GHC_PRAGMA INTERFACE VERSION 5 #-}
2 interface LibSystem where
3 import PreludeIOError(IOError13)
4 import PreludeMonadicIO(Either)
5 data ExitCode   = ExitSuccess | ExitFailure Int
6 exitWith :: ExitCode -> _State _RealWorld -> (Either IOError13 a, _State _RealWorld)
7         {-# GHC_PRAGMA _A_ 2 _U_ 11 _N_ _S_ "SU(P)" {_A_ 2 _U_ 12 _N_ _N_ _N_ _N_} _N_ _N_ #-}
8 getArgs :: _State _RealWorld -> (Either IOError13 [[Char]], _State _RealWorld)
9         {-# GHC_PRAGMA _A_ 1 _U_ 1 _N_ _S_ "U(P)" {_A_ 1 _U_ 2 _N_ _N_ _N_ _N_} _N_ _N_ #-}
10 getEnv :: [Char] -> _State _RealWorld -> (Either IOError13 [Char], _State _RealWorld)
11         {-# GHC_PRAGMA _A_ 2 _U_ 21 _N_ _S_ "LU(P)" {_A_ 2 _U_ 22 _N_ _N_ _N_ _N_} _N_ _N_ #-}
12 getProgName :: _State _RealWorld -> (Either IOError13 [Char], _State _RealWorld)
13         {-# GHC_PRAGMA _A_ 1 _U_ 1 _N_ _S_ "U(P)" {_A_ 1 _U_ 2 _N_ _N_ _N_ _N_} _N_ _N_ #-}
14 system :: [Char] -> _State _RealWorld -> (Either IOError13 ExitCode, _State _RealWorld)
15         {-# GHC_PRAGMA _A_ 2 _U_ 21 _N_ _S_ "SU(P)" {_A_ 2 _U_ 22 _N_ _N_ _N_ _N_} _N_ _N_ #-}
16 instance Eq ExitCode
17         {-# GHC_PRAGMA _M_ LibSystem {-dfun-} _A_ 0 _N_ _N_ _N_ _F_ _IF_ARGS_ 0 0 X 3 _!_ _TUP_2 [(ExitCode -> ExitCode -> Bool), (ExitCode -> ExitCode -> Bool)] [_CONSTM_ Eq (==) (ExitCode), _CONSTM_ Eq (/=) (ExitCode)] _N_
18          (==) = _A_ 2 _U_ 22 _N_ _S_ "SS" _N_ _N_,
19          (/=) = _A_ 2 _U_ 22 _N_ _S_ "SS" _N_ _N_ #-}
20 instance Ord ExitCode
21         {-# GHC_PRAGMA _M_ LibSystem {-dfun-} _A_ 0 _N_ _N_ _N_ _F_ _IF_ARGS_ 0 0 X 9 _!_ _TUP_8 [{{Eq ExitCode}}, (ExitCode -> ExitCode -> Bool), (ExitCode -> ExitCode -> Bool), (ExitCode -> ExitCode -> Bool), (ExitCode -> ExitCode -> Bool), (ExitCode -> ExitCode -> ExitCode), (ExitCode -> ExitCode -> ExitCode), (ExitCode -> ExitCode -> _CMP_TAG)] [_DFUN_ Eq (ExitCode), _CONSTM_ Ord (<) (ExitCode), _CONSTM_ Ord (<=) (ExitCode), _CONSTM_ Ord (>=) (ExitCode), _CONSTM_ Ord (>) (ExitCode), _CONSTM_ Ord max (ExitCode), _CONSTM_ Ord min (ExitCode), _CONSTM_ Ord _tagCmp (ExitCode)] _N_
22          (<) = _A_ 2 _U_ 22 _N_ _S_ "SS" _N_ _N_,
23          (<=) = _A_ 2 _U_ 22 _N_ _S_ "SS" _N_ _N_,
24          (>=) = _A_ 2 _U_ 22 _N_ _S_ "SS" _N_ _N_,
25          (>) = _A_ 2 _U_ 22 _N_ _S_ "SS" _N_ _N_,
26          max = _A_ 2 _U_ 22 _N_ _S_ "SS" _N_ _N_,
27          min = _A_ 2 _U_ 22 _N_ _S_ "SS" _N_ _N_,
28          _tagCmp = _A_ 2 _U_ 22 _N_ _S_ "SS" _N_ _N_ #-}
29 instance Text ExitCode
30         {-# GHC_PRAGMA _M_ LibSystem {-dfun-} _A_ 0 _N_ _N_ _N_ _F_ _IF_ARGS_ 0 0 X 5 _!_ _TUP_4 [(Int -> [Char] -> [(ExitCode, [Char])]), (Int -> ExitCode -> [Char] -> [Char]), ([Char] -> [([ExitCode], [Char])]), ([ExitCode] -> [Char] -> [Char])] [_CONSTM_ Text readsPrec (ExitCode), _CONSTM_ Text showsPrec (ExitCode), _CONSTM_ Text readList (ExitCode), _CONSTM_ Text showList (ExitCode)] _N_
31          readsPrec = _A_ 1 _U_ 12 _N_ _S_ "U(P)" {_A_ 1 _U_ 22 _N_ _N_ _N_ _N_} _N_ _N_,
32          showsPrec = _A_ 2 _U_ 112 _N_ _S_ "LS" _N_ _N_,
33          readList = _A_ 0 _U_ 2 _N_ _N_ _N_ _N_,
34          showList = _A_ 0 _U_ 12 _N_ _N_ _N_ _N_ #-}
35