@@ -166,29 +166,10 @@ primitives =
166166 Prim (sUN "prim__strRev") (ty [StrType] StrType) 1 (p_strRev)
167167 (1, LStrRev) total,
168168
169−-- Prim (sUN "prim__readFile") (ty [WorldType,PtrType] StrType) 2 (p_cantreduce)
170−-- (2, LReadFile) total, -- total is okay, because we have 'WorldType'
171−-- Prim (sUN "prim__writeFile") (ty [WorldType,PtrType,StrType] (AType (ATInt ITNative))) 3 (p_cantreduce)
172−-- (3, LWriteFile) total,
173−-- Prim (sUN "prim__readString") (ty [WorldType] StrType) 1 (p_cantreduce)
174−-- (1, LReadStr) total, -- total is okay, because we have 'WorldType'
175−-- Prim (sUN "prim__writeString") (ty [WorldType,StrType] (AType (ATInt ITNative))) 2 (p_cantreduce)
176−-- (2, LWriteStr) total,
177−--
178−-- Prim (sUN "prim__vm") (ty [] PtrType) 0 (p_cantreduce)
179−-- (0, LVMPtr) total,
180−-- -- Streams
181−-- Prim (sUN "prim__stdin") (ty [] PtrType) 0 (p_cantreduce)
182−-- (0, LStdIn) total,
183−-- Prim (sUN "prim__stdout") (ty [] PtrType) 0 (p_cantreduce)
184−-- (0, LStdOut) total,
185−-- Prim (sUN "prim__stderr") (ty [] PtrType) 0 (p_cantreduce)
186−-- (0, LStdErr) total,
187−-- Prim (sUN "prim__null") (ty [] PtrType) 0 (p_cantreduce)
188−-- (0, LNullPtr) total,
189−-- -- Managed pointer registration
190−-- Prim (sUN "prim__registerPtr") (ty [PtrType, AType (ATInt ITNative)] ManagedPtrType) 2 (p_cantreduce)
191−-- (2, LRegisterPtr) total,
169+ Prim (sUN "prim__readString") (ty [WorldType] StrType) 1 (p_cantreduce)
170+ (1, LReadStr) total, -- total is okay, because we have 'WorldType'
171+ Prim (sUN "prim__writeString") (ty [WorldType,StrType] (AType (ATInt ITNative))) 2 (p_cantreduce)
172+ (2, LWriteStr) total,
192173 Prim (sUN "prim__systemInfo") (ty [AType (ATInt ITNative)] StrType) 1 (p_cantreduce)
193174 (1, LSystemInfo) total
194175 ] ++ concatMap intOps [ITFixed IT8, ITFixed IT16, ITFixed IT32, ITFixed IT64, ITBig, ITNative, ITChar]