[project @ 1998-07-18 14:00:27 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   sameMVar#
41   newSynchVar#
42   takeMVar#
43   putMVar#
44   waitRead#
45   waitWrite#
46   
47   errorIO#
48   
49   Char# 
50   gtChar#
51   geChar#
52   eqChar#
53   neChar#
54   ltChar#
55   leChar#
56   ord#
57   chr#
58   
59   Int#
60   >#
61   >=#
62   ==#
63   /=#
64   <#
65   <=#
66   +#
67   -#
68   *#
69   /#
70   quotInt#
71   remInt#
72   negateInt#
73   iShiftL#
74   iShiftRA#
75   iShiftRL#
76   
77   Word#
78   gtWord#
79   geWord#
80   eqWord#
81   neWord#
82   ltWord#
83   leWord#
84   quotWord#
85   remWord#
86   and#
87   or#
88   not#
89   xor#
90   shiftL#
91   shiftRA#
92   shiftRL#
93   int2Word#
94   word2Int#
95   
96   Addr#
97   gtAddr#
98   geAddr#
99   eqAddr#
100   neAddr#
101   ltAddr#
102   leAddr#
103   int2Addr#
104   addr2Int#
105   
106   Float#
107   gtFloat#
108   geFloat#
109   eqFloat#
110   neFloat#
111   ltFloat#
112   leFloat#
113   plusFloat#
114   minusFloat#
115   timesFloat#
116   divideFloat#
117   negateFloat#
118   float2Int#
119   int2Float#
120   expFloat#
121   logFloat#
122   sqrtFloat#
123   sinFloat#
124   cosFloat#
125   tanFloat#
126   asinFloat#
127   acosFloat#
128   atanFloat#
129   sinhFloat#
130   coshFloat#
131   tanhFloat#
132   powerFloat#
133   decodeFloat#
134   encodeFloat#
135   
136   Double#
137   >##
138   >=##
139   ==##
140   /=##
141   <##
142   <=##
143   +##
144   -##
145   *##
146   /##
147   negateDouble#
148   double2Int#
149   int2Double#
150   double2Float#
151   float2Double#
152   expDouble#
153   logDouble#
154   sqrtDouble#
155   sinDouble#
156   cosDouble#
157   tanDouble#
158   asinDouble#
159   acosDouble#
160   atanDouble#
161   sinhDouble#
162   coshDouble#
163   tanhDouble#
164   **##
165   decodeDouble#
166   encodeDouble#
167   
168   cmpInteger#
169   negateInteger#
170   plusInteger#
171   minusInteger#
172   timesInteger#
173   quotRemInteger#
174   integer2Int#
175   integer2Word#
176   int2Integer#
177   word2Integer#
178   
179   Array#
180   ByteArray#
181   MutableArray#
182   MutableByteArray#
183   
184   sameMutableArray#
185   sameMutableByteArray#
186   
187   newArray#
188   newCharArray#
189   newIntArray#
190   newWordArray#
191   newFloatArray#
192   newDoubleArray#
193   newAddrArray#
194   
195   indexArray#
196   indexCharArray#
197   indexIntArray#
198   indexWordArray#
199   indexFloatArray#
200   indexDoubleArray#
201   indexAddrArray#
202   
203 --  indexOffAddr#
204 indexCharOffAddr#
205 indexIntOffAddr#
206 indexWordOffAddr#
207 indexAddrOffAddr#
208 indexFloatOffAddr#
209 indexDoubleOffAddr#
210
211 --  indexOffForeignObj#
212 indexCharOffForeignObj#
213 indexIntOffForeignObj#
214 indexWordOffForeignObj#
215 indexAddrOffForeignObj#
216 indexFloatOffForeignObj#
217 indexDoubleOffForeignObj#
218   
219   writeArray#
220   writeCharArray#
221   writeIntArray#
222   writeWordArray#
223   writeFloatArray#
224   writeDoubleArray#
225   writeAddrArray#
226   
227   readArray#
228   readCharArray#
229   readIntArray#
230   readWordArray#
231   readFloatArray#
232   readDoubleArray#
233   readAddrArray#
234   
235   unsafeFreezeArray#
236   unsafeFreezeByteArray#
237   
238   sizeofByteArray#
239   sizeofMutableByteArray#
240
241   ForeignObj#
242   makeForeignObj#
243   writeForeignObj#
244   
245   StablePtr#
246   makeStablePtr#
247   deRefStablePtr#
248   reallyUnsafePtrEquality#
249
250   unsafeCoerce#
251 ;
252
253 _declarations_
254
255 1 class CCallable a :: ** ;
256 1 class CReturnable a :: ** ;