[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / lib / ghc / Readline_mg.hi
1 {-# GHC_PRAGMA INTERFACE VERSION 5 #-}
2 interface Readline where
3 import PreludeIOError(IOError13)
4 import PreludeMonadicIO(Either)
5 type RlCallbackFunction = Int -> Int -> _State _RealWorld -> (Either IOError13 Int, _State _RealWorld)
6 addHistory :: [Char] -> _State _RealWorld -> (Either IOError13 (), _State _RealWorld)
7         {-# GHC_PRAGMA _A_ 2 _U_ 22 _N_ _N_ _N_ _N_ #-}
8 readline :: [Char] -> _State _RealWorld -> (Either IOError13 [Char], _State _RealWorld)
9         {-# GHC_PRAGMA _A_ 2 _U_ 21 _N_ _S_ "SU(P)" {_A_ 2 _U_ 22 _N_ _N_ _N_ _N_} _N_ _N_ #-}
10 rlAddDefun :: [Char] -> (Int -> Int -> _State _RealWorld -> (Either IOError13 Int, _State _RealWorld)) -> Int -> _State _RealWorld -> (Either IOError13 (), _State _RealWorld)
11         {-# GHC_PRAGMA _A_ 4 _U_ 2211 _N_ _S_ "LLU(P)U(P)" {_A_ 4 _U_ 2222 _N_ _N_ _N_ _N_} _N_ _N_ #-}
12 rlBindKey :: Int -> (Int -> Int -> _State _RealWorld -> (Either IOError13 Int, _State _RealWorld)) -> _State _RealWorld -> (Either IOError13 (), _State _RealWorld)
13         {-# GHC_PRAGMA _A_ 3 _U_ 121 _N_ _S_ "U(P)LU(P)" {_A_ 3 _U_ 222 _N_ _N_ _N_ _N_} _N_ _N_ #-}
14 rlGetEnd :: _State _RealWorld -> (Either IOError13 Int, _State _RealWorld)
15         {-# GHC_PRAGMA _A_ 1 _U_ 2 _N_ _N_ _N_ _N_ #-}
16 rlGetLineBuffer :: _State _RealWorld -> (Either IOError13 [Char], _State _RealWorld)
17         {-# GHC_PRAGMA _A_ 1 _U_ 1 _N_ _S_ "U(P)" {_A_ 1 _U_ 2 _N_ _N_ _N_ _N_} _N_ _N_ #-}
18 rlGetMark :: _State _RealWorld -> (Either IOError13 Int, _State _RealWorld)
19         {-# GHC_PRAGMA _A_ 1 _U_ 2 _N_ _N_ _N_ _N_ #-}
20 rlGetPoint :: _State _RealWorld -> (Either IOError13 Int, _State _RealWorld)
21         {-# GHC_PRAGMA _A_ 1 _U_ 2 _N_ _N_ _N_ _N_ #-}
22 rlGetReadlineName :: _State _RealWorld -> (Either IOError13 [Char], _State _RealWorld)
23         {-# GHC_PRAGMA _A_ 1 _U_ 1 _N_ _S_ "U(P)" {_A_ 1 _U_ 2 _N_ _N_ _N_ _N_} _N_ _N_ #-}
24 rlInitialize :: _State _RealWorld -> (Either IOError13 (), _State _RealWorld)
25         {-# GHC_PRAGMA _A_ 1 _U_ 1 _N_ _S_ "U(P)" {_A_ 1 _U_ 2 _N_ _N_ _N_ _N_} _N_ _N_ #-}
26 rlPendingInput :: Int -> _State _RealWorld -> (Either IOError13 (), _State _RealWorld)
27         {-# GHC_PRAGMA _A_ 2 _U_ 12 _N_ _S_ "U(P)L" {_A_ 2 _U_ 22 _N_ _N_ _N_ _N_} _N_ _N_ #-}
28 rlPrompt :: _State _RealWorld -> (Either IOError13 [Char], _State _RealWorld)
29         {-# GHC_PRAGMA _A_ 1 _U_ 1 _N_ _S_ "U(P)" {_A_ 1 _U_ 2 _N_ _N_ _N_ _N_} _N_ _N_ #-}
30 rlSetDone :: Bool -> _State _RealWorld -> (Either IOError13 (), _State _RealWorld)
31         {-# GHC_PRAGMA _A_ 2 _U_ 12 _N_ _S_ "EL" _N_ _N_ #-}
32 rlSetEnd :: Int -> _State _RealWorld -> (Either IOError13 (), _State _RealWorld)
33         {-# GHC_PRAGMA _A_ 2 _U_ 12 _N_ _S_ "U(P)L" {_A_ 2 _U_ 22 _N_ _N_ _N_ _N_} _N_ _N_ #-}
34 rlSetLineBuffer :: [Char] -> _State _RealWorld -> (Either IOError13 (), _State _RealWorld)
35         {-# GHC_PRAGMA _A_ 2 _U_ 22 _N_ _N_ _N_ _N_ #-}
36 rlSetMark :: Int -> _State _RealWorld -> (Either IOError13 (), _State _RealWorld)
37         {-# GHC_PRAGMA _A_ 2 _U_ 12 _N_ _S_ "U(P)L" {_A_ 2 _U_ 22 _N_ _N_ _N_ _N_} _N_ _N_ #-}
38 rlSetPoint :: Int -> _State _RealWorld -> (Either IOError13 (), _State _RealWorld)
39         {-# GHC_PRAGMA _A_ 2 _U_ 12 _N_ _S_ "U(P)L" {_A_ 2 _U_ 22 _N_ _N_ _N_ _N_} _N_ _N_ #-}
40 rlSetReadlineName :: [Char] -> _State _RealWorld -> (Either IOError13 (), _State _RealWorld)
41         {-# GHC_PRAGMA _A_ 2 _U_ 22 _N_ _N_ _N_ _N_ #-}
42 rlTerminalName :: _State _RealWorld -> (Either IOError13 [Char], _State _RealWorld)
43         {-# GHC_PRAGMA _A_ 1 _U_ 1 _N_ _S_ "U(P)" {_A_ 1 _U_ 2 _N_ _N_ _N_ _N_} _N_ _N_ #-}
44