[project @ 1997-07-05 00:56:24 by sof]
authorsof <unknown>
Sat, 5 Jul 1997 00:59:39 +0000 (00:59 +0000)
committersof <unknown>
Sat, 5 Jul 1997 00:59:39 +0000 (00:59 +0000)
Use UnsafeST

ghc/lib/glaExts/Foreign.lhs
ghc/lib/glaExts/GlaExts.lhs
ghc/lib/glaExts/PackedString.lhs
ghc/lib/glaExts/ST.lhs
ghc/lib/required/CPUTime.lhs
ghc/lib/required/Directory.lhs
ghc/lib/required/IO.lhs
ghc/lib/required/Time.lhs

index 9ae5d2a..d31d7ed 100644 (file)
@@ -14,7 +14,7 @@ module Foreign (
    ) where
 
 import STBase
--- import ArrBase
+import UnsafeST        ( unsafePerformPrimIO )
 import PrelBase
 import GHC
 \end{code}
index 057a4b9..eb89c9c 100644 (file)
@@ -61,6 +61,7 @@ module GlaExts
 
 import GHC
 import STBase
+import UnsafeST
 import PrelBase
 import ByteArray
 import MutableArray
index 6816243..b04a71b 100644 (file)
@@ -78,6 +78,7 @@ import {-# SOURCE #-} IOBase  ( error )
 import Ix
 import PrelList
 import STBase
+import UnsafeST        ( unsafePerformPrimIO )
 import ArrBase
 import PrelBase
 import Foreign ( Addr(..) )
index e025c83..4e0d6b9 100644 (file)
@@ -33,6 +33,7 @@ module ST (
 import IOBase  ( error )       -- [Source not needed]
 import ArrBase
 import STBase
+import UnsafeST        ( unsafeInterleaveST )
 import PrelBase        ( Int, Bool, ($), ()(..) )
 import GHC     ( newArray#, readArray#, writeArray#, sameMutableArray#, sameMutableByteArray# )
 import Monad
index 62644bf..9968f74 100644 (file)
@@ -16,6 +16,7 @@ import Foreign        ( Addr )
 import IOBase
 import IO
 import STBase
+import UnsafeST        ( unsafePerformPrimIO )
 import Ratio
 
 \end{code}
index d7fdf7d..72c254f 100644 (file)
@@ -43,6 +43,7 @@ import PrelBase
 import Foreign
 import IOBase
 import STBase
+import UnsafeST                ( unsafePerformPrimIO )
 import ArrBase
 import PackedString    ( packCBytesST, unpackPS, psToByteArrayST )
 import Time             ( ClockTime(..) )
index 3d4bb2f..cf7d581 100644 (file)
@@ -34,6 +34,7 @@ module IO (
 
 import Ix
 import STBase
+import UnsafeST                ( unsafePerformPrimIO, unsafeInterleavePrimIO )
 import IOBase
 import ArrBase         ( MutableByteArray(..), newCharArray )
 import IOHandle                -- much of the real stuff is in here
index 0af39f7..d605ad4 100644 (file)
@@ -29,6 +29,7 @@ import ST
 import IOBase
 import ArrBase
 import STBase
+import UnsafeST        ( unsafePerformPrimIO )
 import ST
 import Ix
 import Foreign( Addr(..) )