import Addr
import Foreign
import CCall
-import PrelBase
+import PrelAddr
+import PrelBase ( Int(..), Int#, (==#)
+ , newIntArray#, unsafeFreezeByteArray#, newCharArray#
+ , RealWorld
+ )
+
import MutableArray
import ByteArray
import Array
syserr :: String -> IO a
syserr str = fail (IOError Nothing -- ToDo: better
SystemError
- str)
+ str
+ "")
-- Allocate a mutable array of characters with no indices.