[project @ 1998-04-09 11:54:40 by sof]
[ghc-hetmet.git] / ghc / lib / std / PrelGHC.hi-boot
1 ---------------------------------------------------------------------------
2 --                              GHC.hi
3 -- 
4 --      This hand-written interface file allows you to bring into scope the 
5 --      primitive operations and types that GHC knows about.
6 ---------------------------------------------------------------------------
7
8 _interface_ PrelGHC 2 0
9 _exports_
10 PrelGHC
11   ->
12
13   All   -- Pseudo class used for universal quantification
14   CCallable
15   CReturnable
16
17   Void
18 -- void CAF is defined in PrelBase
19
20 -- Magical assert thingy
21   assert__
22
23 -- I/O primitives
24   RealWorld
25   realWorld#
26   State#
27
28   fork#
29   delay# 
30   seq#
31   par#
32   parGlobal#
33   parLocal#
34   parAt#
35   parAtAbs#
36   parAtRel#
37   parAtForNow#
38
39   SynchVar#
40   newSynchVar#
41   takeMVar#
42   putMVar#
43   waitRead#
44   waitWrite#
45   
46   errorIO#
47   
48   Char# 
49   gtChar#
50   geChar#
51   eqChar#
52   neChar#
53   ltChar#
54   leChar#
55   ord#
56   chr#
57   
58   Int#
59   >#
60   >=#
61   ==#
62   /=#
63   <#
64   <=#
65   +#
66   -#
67   *#
68   /#
69   quotInt#
70   remInt#
71   negateInt#
72   iShiftL#
73   iShiftRA#
74   iShiftRL#
75   
76   Word#
77   gtWord#
78   geWord#
79   eqWord#
80   neWord#
81   ltWord#
82   leWord#
83   quotWord#
84   remWord#
85   and#
86   or#
87   not#
88   xor#
89   shiftL#
90   shiftRA#
91   shiftRL#
92   int2Word#
93   word2Int#
94   
95   Addr#
96   gtAddr#
97   geAddr#
98   eqAddr#
99   neAddr#
100   ltAddr#
101   leAddr#
102   int2Addr#
103   addr2Int#
104   
105   Float#
106   gtFloat#
107   geFloat#
108   eqFloat#
109   neFloat#
110   ltFloat#
111   leFloat#
112   plusFloat#
113   minusFloat#
114   timesFloat#
115   divideFloat#
116   negateFloat#
117   float2Int#
118   int2Float#
119   expFloat#
120   logFloat#
121   sqrtFloat#
122   sinFloat#
123   cosFloat#
124   tanFloat#
125   asinFloat#
126   acosFloat#
127   atanFloat#
128   sinhFloat#
129   coshFloat#
130   tanhFloat#
131   powerFloat#
132   decodeFloat#
133   encodeFloat#
134   
135   Double#
136   >##
137   >=##
138   ==##
139   /=##
140   <##
141   <=##
142   +##
143   -##
144   *##
145   /##
146   negateDouble#
147   double2Int#
148   int2Double#
149   double2Float#
150   float2Double#
151   expDouble#
152   logDouble#
153   sqrtDouble#
154   sinDouble#
155   cosDouble#
156   tanDouble#
157   asinDouble#
158   acosDouble#
159   atanDouble#
160   sinhDouble#
161   coshDouble#
162   tanhDouble#
163   **##
164   decodeDouble#
165   encodeDouble#
166   
167   cmpInteger#
168   negateInteger#
169   plusInteger#
170   minusInteger#
171   timesInteger#
172   quotRemInteger#
173   integer2Int#
174   integer2Word#
175   int2Integer#
176   word2Integer#
177   
178   Array#
179   ByteArray#
180   MutableArray#
181   MutableByteArray#
182   
183   sameMutableArray#
184   sameMutableByteArray#
185   
186   newArray#
187   newCharArray#
188   newIntArray#
189   newWordArray#
190   newFloatArray#
191   newDoubleArray#
192   newAddrArray#
193   
194   indexArray#
195   indexCharArray#
196   indexIntArray#
197   indexWordArray#
198   indexFloatArray#
199   indexDoubleArray#
200   indexAddrArray#
201   
202 --  indexOffAddr#
203 indexCharOffAddr#
204 indexIntOffAddr#
205 indexWordOffAddr#
206 indexAddrOffAddr#
207 indexFloatOffAddr#
208 indexDoubleOffAddr#
209
210 --  indexOffForeignObj#
211 indexCharOffForeignObj#
212 indexIntOffForeignObj#
213 indexWordOffForeignObj#
214 indexAddrOffForeignObj#
215 indexFloatOffForeignObj#
216 indexDoubleOffForeignObj#
217   
218   writeArray#
219   writeCharArray#
220   writeIntArray#
221   writeWordArray#
222   writeFloatArray#
223   writeDoubleArray#
224   writeAddrArray#
225   
226   readArray#
227   readCharArray#
228   readIntArray#
229   readWordArray#
230   readFloatArray#
231   readDoubleArray#
232   readAddrArray#
233   
234   unsafeFreezeArray#
235   unsafeFreezeByteArray#
236   
237   sizeofByteArray#
238   sizeofMutableByteArray#
239
240   ForeignObj#
241   makeForeignObj#
242   writeForeignObj#
243   
244   StablePtr#
245   makeStablePtr#
246   deRefStablePtr#
247   reallyUnsafePtrEquality#
248 ;
249
250 _declarations_
251
252 1 class CCallable a :: ** ;
253 1 class CReturnable a :: ** ;