3abdbd93ef485a26501e21c64e4f2bde778da721
[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   and#
78   or#
79   not#
80   xor#
81   shiftL#
82   shiftRA#
83   shiftRL#
84   int2Word#
85   word2Int#
86   
87   Addr#
88   gtAddr#
89   geAddr#
90   eqAddr#
91   neAddr#
92   ltAddr#
93   leAddr#
94   int2Addr#
95   addr2Int#
96   
97   Float#
98   gtFloat#
99   geFloat#
100   eqFloat#
101   neFloat#
102   ltFloat#
103   leFloat#
104   plusFloat#
105   minusFloat#
106   timesFloat#
107   divideFloat#
108   negateFloat#
109   float2Int#
110   int2Float#
111   expFloat#
112   logFloat#
113   sqrtFloat#
114   sinFloat#
115   cosFloat#
116   tanFloat#
117   asinFloat#
118   acosFloat#
119   atanFloat#
120   sinhFloat#
121   coshFloat#
122   tanhFloat#
123   powerFloat#
124   decodeFloat#
125   encodeFloat#
126   
127   Double#
128   >##
129   >=##
130   ==##
131   /=##
132   <##
133   <=##
134   +##
135   -##
136   *##
137   /##
138   negateDouble#
139   double2Int#
140   int2Double#
141   double2Float#
142   float2Double#
143   expDouble#
144   logDouble#
145   sqrtDouble#
146   sinDouble#
147   cosDouble#
148   tanDouble#
149   asinDouble#
150   acosDouble#
151   atanDouble#
152   sinhDouble#
153   coshDouble#
154   tanhDouble#
155   **##
156   decodeDouble#
157   encodeDouble#
158   
159   cmpInteger#
160   negateInteger#
161   plusInteger#
162   minusInteger#
163   timesInteger#
164   quotRemInteger#
165   integer2Int#
166   int2Integer#
167   
168   Array#
169   ByteArray#
170   MutableArray#
171   MutableByteArray#
172   
173   sameMutableArray#
174   sameMutableByteArray#
175   
176   newArray#
177   newCharArray#
178   newIntArray#
179   newFloatArray#
180   newDoubleArray#
181   newAddrArray#
182   
183   indexArray#
184   indexCharArray#
185   indexIntArray#
186   indexFloatArray#
187   indexDoubleArray#
188   indexAddrArray#
189   
190 --  indexOffAddr#
191 indexCharOffAddr#
192 indexIntOffAddr#
193 indexAddrOffAddr#
194 indexFloatOffAddr#
195 indexDoubleOffAddr#
196
197 --  indexOffForeignObj#
198 indexCharOffForeignObj#
199 indexIntOffForeignObj#
200 indexAddrOffForeignObj#
201 indexFloatOffForeignObj#
202 indexDoubleOffForeignObj#
203   
204   writeArray#
205   writeCharArray#
206   writeIntArray#
207   writeFloatArray#
208   writeDoubleArray#
209   writeAddrArray#
210   
211   readArray#
212   readCharArray#
213   readIntArray#
214   readFloatArray#
215   readDoubleArray#
216   readAddrArray#
217   
218   unsafeFreezeArray#
219   unsafeFreezeByteArray#
220   
221   ForeignObj#
222   makeForeignObj#
223   writeForeignObj#
224   
225   StablePtr#
226   makeStablePtr#
227   deRefStablePtr#
228
229   reallyUnsafePtrEquality#
230 ;