1 {-# OPTIONS -fno-implicit-prelude #-}
8 foreign import "libHS_cbits" "getErrStr__" unsafe ggetErrStr__ :: Int -> IO Addr
10 main = putStr (uunsafePerformIO (ggetErrStr__ 4))
12 uunsafePerformIO :: IO Addr -> [Char]
13 uunsafePerformIO (IO m) = case m realWorld# of (# _, (A# r) #) -> (unpackCString# r)