[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / lib / prelude / Channel_t.hi
1 {-# GHC_PRAGMA INTERFACE VERSION 5 #-}
2 interface Channel where
3 import PreludeIOError(IOError13)
4 import PreludeMonadicIO(Either)
5 import PreludePrimIO(_MVar)
6 data Chan a 
7 dupChan :: Chan a -> _State _RealWorld -> (Either IOError13 (Chan a), _State _RealWorld)
8         {-# GHC_PRAGMA _A_ 2 _U_ 11 _N_ _S_ "U(AL)U(P)" {_A_ 2 _U_ 22 _N_ _N_ _N_ _N_} _N_ _N_ #-}
9 getChan :: Chan a -> _State _RealWorld -> (Either IOError13 a, _State _RealWorld)
10         {-# GHC_PRAGMA _A_ 2 _U_ 11 _N_ _S_ "U(U(P)A)U(P)" {_A_ 2 _U_ 22 _N_ _N_ _N_ _N_} _N_ _N_ #-}
11 getChanContents :: Chan a -> _State _RealWorld -> (Either IOError13 [a], _State _RealWorld)
12         {-# GHC_PRAGMA _A_ 2 _U_ 22 _N_ _N_ _N_ _N_ #-}
13 newChan :: _State _RealWorld -> (Either IOError13 (Chan a), _State _RealWorld)
14         {-# GHC_PRAGMA _A_ 1 _U_ 1 _N_ _S_ "U(P)" {_A_ 1 _U_ 2 _N_ _N_ _N_ _N_} _N_ _N_ #-}
15 putChan :: Chan a -> a -> _State _RealWorld -> (Either IOError13 (), _State _RealWorld)
16         {-# GHC_PRAGMA _A_ 3 _U_ 121 _N_ _S_ "U(AL)LU(P)" {_A_ 3 _U_ 122 _N_ _N_ _N_ _N_} _N_ _N_ #-}
17 unGetChan :: Chan a -> a -> _State _RealWorld -> (Either IOError13 (), _State _RealWorld)
18         {-# GHC_PRAGMA _A_ 3 _U_ 121 _N_ _S_ "U(LA)LU(P)" {_A_ 3 _U_ 122 _N_ _N_ _N_ _N_} _N_ _N_ #-}
19