[project @ 1998-02-02 17:27:26 by simonm]
[ghc-hetmet.git] / ghc / lib / std / PrelHandle.lhs
similarity index 98%
rename from ghc/lib/ghc/IOHandle.lhs
rename to ghc/lib/std/PrelHandle.lhs
index a0d4f14..a597284 100644 (file)
@@ -2,7 +2,7 @@
 % (c) The AQUA Project, Glasgow University, 1994-1996
 %
 
-\section[IOHandle]{Module @IOHandle@}
+\section[PrelHandle]{Module @PrelHandle@}
 
 This module defines Haskell {\em handles} and the basic operations
 which are supported for them.
@@ -12,30 +12,27 @@ which are supported for them.
 #include "error.h"
 
 
-module IOHandle where
+module PrelHandle where
 
-import ST
-import STBase
-import ArrBase ( ByteArray(..), newVar, readVar, writeVar )
-import PrelRead        ( Read )
-import PrelList (span)
-import Ix
-import IOBase
-import Unsafe   ( unsafePerformIO )
+import PrelST
+import PrelArr         ( ByteArray(..), newVar, readVar, writeVar )
+import PrelRead                ( Read )
+import PrelList        ( span )
+import PrelIOBase
+import PrelUnsafe      ( unsafePerformIO )
 import PrelTup
 import PrelMaybe
 import PrelBase
-import GHC
-import Addr
-import GHCerr   ( error )
+import PrelAddr
+import PrelErr         ( error )
+import PrelGHC
+import Ix
 
 #ifndef __PARALLEL_HASKELL__
-import Foreign  ( ForeignObj, makeForeignObj, writeForeignObj )
+import PrelForeign  ( ForeignObj, makeForeignObj, writeForeignObj )
 #endif
 
-#if defined(__CONCURRENT_HASKELL__)
-import ConcBase
-#endif
+import PrelConc                                -- concurrent only
 \end{code}