poke and peek come from Foreign.Storable
authorMalcolm.Wallace@cs.york.ac.uk <unknown>
Mon, 4 Aug 2008 16:06:16 +0000 (16:06 +0000)
committerMalcolm.Wallace@cs.york.ac.uk <unknown>
Mon, 4 Aug 2008 16:06:16 +0000 (16:06 +0000)
Foreign/C/Error.hs

index 77d2738..950a7a4 100644 (file)
@@ -118,6 +118,7 @@ import System.IO.Unsafe         ( unsafePerformIO )
 import System.IO                ( Handle )
 import System.IO.Error          ( IOError, ioError )
 import System.IO.Unsafe         ( unsafePerformIO )
+import Foreign.Storable         ( Storable(poke,peek) )
 #endif
 
 #ifdef __HUGS__