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