[project @ 2002-02-12 10:50:37 by simonmar]
authorsimonmar <unknown>
Tue, 12 Feb 2002 10:50:37 +0000 (10:50 +0000)
committersimonmar <unknown>
Tue, 12 Feb 2002 10:50:37 +0000 (10:50 +0000)
Make this build: OPTIONS -fparr and place it above the Prelude in the
dependency tree.

GHC/PArr.hs

index d385d84..bb5910e 100644 (file)
@@ -1,4 +1,6 @@
---  $Id: PArr.hs,v 1.1 2002/02/11 17:11:12 simonmar Exp $
+{-# OPTIONS -fparr #-}
+
+--  $Id: PArr.hs,v 1.2 2002/02/12 10:50:37 simonmar Exp $
 --
 --  Copyright (c) [2001..2002] Manuel M T Chakravarty & Gabriele Keller
 --
@@ -65,8 +67,6 @@
 --  * We might want to add bounds checks that can be deactivated.
 --
 
-{-# OPTIONS -fno-implicit-prelude #-}
-
 module GHC.PArr (
   [::],                        -- abstract
 
@@ -136,11 +136,11 @@ module GHC.PArr (
   indexOfP             -- :: (a -> Bool) -> [:a:] -> [:Int:]
 ) where
 
-import PrelBase
-import PrelST   (ST(..), STRep, runST)
-import PrelList
-import PrelShow
-import PrelRead
+import Prelude
+
+import GHC.ST   ( ST(..), STRep, runST )
+import GHC.Exts        ( Int#, Array#, Int(I#), MutableArray#, newArray#,
+                 unsafeFreezeArray#, indexArray#, writeArray# )
 
 infixl 9  !:
 infixr 5  +:+