[project @ 2003-07-29 12:03:13 by ross]
[ghc-base.git] / Foreign / Marshal / Pool.hs
index 1b1ac1c..20be91a 100644 (file)
@@ -45,14 +45,14 @@ module Foreign.Marshal.Pool (
 ) where
 
 #ifdef __GLASGOW_HASKELL__
-import GHC.Base              ( Int, Monad(..), (.), not, map )
+import GHC.Base              ( Int, Monad(..), (.), not )
 import GHC.Err               ( undefined )
 import GHC.Exception         ( block, unblock, throw, catchException )
 import GHC.IOBase            ( IO, IORef, newIORef, readIORef, writeIORef, )
 import GHC.List              ( elem, length )
 import GHC.Num               ( Num(..) )
 #else
-import Data.IORef            ( IORef, newIORef, readIORef, modifyIORef )
+import Data.IORef            ( IORef, newIORef, readIORef, writeIORef )
 #if defined(__NHC__)
 import IO                    ( bracket )
 #else