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