[project @ 1998-08-14 12:51:05 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   Word64#
97
98   Int64#
99
100   Addr#
101   gtAddr#
102   geAddr#
103   eqAddr#
104   neAddr#
105   ltAddr#
106   leAddr#
107   int2Addr#
108   addr2Int#
109   
110   Float#
111   gtFloat#
112   geFloat#
113   eqFloat#
114   neFloat#
115   ltFloat#
116   leFloat#
117   plusFloat#
118   minusFloat#
119   timesFloat#
120   divideFloat#
121   negateFloat#
122   float2Int#
123   int2Float#
124   expFloat#
125   logFloat#
126   sqrtFloat#
127   sinFloat#
128   cosFloat#
129   tanFloat#
130   asinFloat#
131   acosFloat#
132   atanFloat#
133   sinhFloat#
134   coshFloat#
135   tanhFloat#
136   powerFloat#
137   decodeFloat#
138   encodeFloat#
139   
140   Double#
141   >##
142   >=##
143   ==##
144   /=##
145   <##
146   <=##
147   +##
148   -##
149   *##
150   /##
151   negateDouble#
152   double2Int#
153   int2Double#
154   double2Float#
155   float2Double#
156   expDouble#
157   logDouble#
158   sqrtDouble#
159   sinDouble#
160   cosDouble#
161   tanDouble#
162   asinDouble#
163   acosDouble#
164   atanDouble#
165   sinhDouble#
166   coshDouble#
167   tanhDouble#
168   **##
169   decodeDouble#
170   encodeDouble#
171   
172   cmpInteger#
173   negateInteger#
174   plusInteger#
175   minusInteger#
176   timesInteger#
177   quotRemInteger#
178   integer2Int#
179   integer2Word#
180   int2Integer#
181   word2Integer#
182   integerToInt64#
183   integerToWord64#
184   int64ToInteger#
185   word64ToInteger#
186   
187   Array#
188   ByteArray#
189   MutableArray#
190   MutableByteArray#
191   
192   sameMutableArray#
193   sameMutableByteArray#
194   
195   newArray#
196   newCharArray#
197   newIntArray#
198   newWordArray#
199   newFloatArray#
200   newDoubleArray#
201   newAddrArray#
202   
203   indexArray#
204   indexCharArray#
205   indexIntArray#
206   indexWordArray#
207   indexFloatArray#
208   indexDoubleArray#
209   indexAddrArray#
210   indexInt64Array#
211   indexWord64Array#
212   
213 --  indexOffAddr#
214 indexCharOffAddr#
215 indexIntOffAddr#
216 indexWordOffAddr#
217 indexAddrOffAddr#
218 indexFloatOffAddr#
219 indexDoubleOffAddr#
220 indexInt64OffAddr#
221 indexWord64OffAddr#
222
223 writeCharOffAddr#
224 writeIntOffAddr#
225 writeWordOffAddr#
226 writeAddrOffAddr#
227 writeFloatOffAddr#
228 writeDoubleOffAddr#
229 writeInt64OffAddr#
230 writeWord64OffAddr#
231
232 --  indexOffForeignObj#
233 indexCharOffForeignObj#
234 indexIntOffForeignObj#
235 indexWordOffForeignObj#
236 indexAddrOffForeignObj#
237 indexFloatOffForeignObj#
238 indexDoubleOffForeignObj#
239 indexInt64OffForeignObj#
240 indexWord64OffForeignObj#
241   
242   writeArray#
243   writeCharArray#
244   writeIntArray#
245   writeWordArray#
246   writeFloatArray#
247   writeDoubleArray#
248   writeAddrArray#
249   writeInt64Array#
250   writeWord64Array#
251   
252   readArray#
253   readCharArray#
254   readIntArray#
255   readWordArray#
256   readFloatArray#
257   readDoubleArray#
258   readAddrArray#
259   readInt64Array#
260   readWord64Array#
261   
262   unsafeFreezeArray#
263   unsafeFreezeByteArray#
264   
265   sizeofByteArray#
266   sizeofMutableByteArray#
267
268   ForeignObj#
269   makeForeignObj#
270   writeForeignObj#
271   
272   StablePtr#
273   makeStablePtr#
274   deRefStablePtr#
275   reallyUnsafePtrEquality#
276
277   unsafeCoerce#
278 ;
279
280 _declarations_
281
282 1 class CCallable a :: ** ;
283 1 class CReturnable a :: ** ;
284 1 assert _:_ _forall_ [a] => PrelBase.Bool -> a -> a ;;