import Ratio
#ifdef __HUGS__
-#define cat2(x,y) x/**/y
+#define cat2(x,y) x##y
#define CCALL(fun) cat2(prim_,fun)
#define stToIO id
#define sizeof_int64 8
getCPUTime :: IO Integer
getCPUTime =
- stToIO (newIntArray (0,3)) >>= \ marr ->
+ stToIO (newIntArray ((0::Int),3)) >>= \ marr ->
stToIO (unsafeFreezeByteArray marr) >>= \ barr@(ByteArray _ frozen#) ->
_ccall_ getCPUTime barr >>= \ ptr ->
if (ptr::Addr) /= ``NULL'' then