diff options
author | simonpj@microsoft <unknown> | 2007-05-03 12:30:10 +0000 |
---|---|---|
committer | simonpj@microsoft <unknown> | 2007-05-03 12:30:10 +0000 |
commit | ebde8c26902d51c84ec40cee9692dd2d7c3ebdb6 (patch) | |
tree | d2112fc29b0bebeca64c751630e608847e4beb6e /libraries/base/GHC/ForeignPtr.hs | |
parent | 279015b456299853d2f95e732c14f3ce66d5ec81 (diff) | |
download | haskell-ebde8c26902d51c84ec40cee9692dd2d7c3ebdb6.tar.gz |
Trim imports, remove a cycle
A first attempt at removing gratuitous cycles in the base package.
I've removed the useless module GHC.Dynamic, which gets rid of a cycle;
and trimmed off various unnecesary imports.
This also fixes the IsString import problem.
Diffstat (limited to 'libraries/base/GHC/ForeignPtr.hs')
-rw-r--r-- | libraries/base/GHC/ForeignPtr.hs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/base/GHC/ForeignPtr.hs b/libraries/base/GHC/ForeignPtr.hs index bb74f0b1d6..dc1f02f4c2 100644 --- a/libraries/base/GHC/ForeignPtr.hs +++ b/libraries/base/GHC/ForeignPtr.hs @@ -34,15 +34,13 @@ module GHC.ForeignPtr import Control.Monad ( sequence_ ) import Foreign.Storable -import Numeric ( showHex ) import GHC.Show -import GHC.Num -import GHC.List ( null, replicate, length ) +import GHC.List ( null ) import GHC.Base import GHC.IOBase import GHC.STRef ( STRef(..) ) -import GHC.Ptr ( Ptr(..), FunPtr, castFunPtrToPtr ) +import GHC.Ptr ( Ptr(..), FunPtr ) import GHC.Err -- |The type 'ForeignPtr' represents references to objects that are |