[project @ 1998-04-07 07:51:07 by simonpj]
[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   newFloatArray#
190   newDoubleArray#
191   newAddrArray#
192   
193   indexArray#
194   indexCharArray#
195   indexIntArray#
196   indexFloatArray#
197   indexDoubleArray#
198   indexAddrArray#
199   
200 --  indexOffAddr#
201 indexCharOffAddr#
202 indexIntOffAddr#
203 indexAddrOffAddr#
204 indexFloatOffAddr#
205 indexDoubleOffAddr#
206
207 --  indexOffForeignObj#
208 indexCharOffForeignObj#
209 indexIntOffForeignObj#
210 indexAddrOffForeignObj#
211 indexFloatOffForeignObj#
212 indexDoubleOffForeignObj#
213   
214   writeArray#
215   writeCharArray#
216   writeIntArray#
217   writeFloatArray#
218   writeDoubleArray#
219   writeAddrArray#
220   
221   readArray#
222   readCharArray#
223   readIntArray#
224   readFloatArray#
225   readDoubleArray#
226   readAddrArray#
227   
228   unsafeFreezeArray#
229   unsafeFreezeByteArray#
230   
231   ForeignObj#
232   makeForeignObj#
233   writeForeignObj#
234   
235   StablePtr#
236   makeStablePtr#
237   deRefStablePtr#
238   reallyUnsafePtrEquality#
239 ;
240
241 _declarations_
242
243 1 class CCallable a :: ** ;
244 1 class CReturnable a :: ** ;