From bf0d5c6e8033ce5cd8c82ccc50a3050b1396b185 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 12 Feb 2002 10:50:37 +0000 Subject: [PATCH] [project @ 2002-02-12 10:50:37 by simonmar] Make this build: OPTIONS -fparr and place it above the Prelude in the dependency tree. --- GHC/PArr.hs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/GHC/PArr.hs b/GHC/PArr.hs index d385d84..bb5910e 100644 --- a/GHC/PArr.hs +++ b/GHC/PArr.hs @@ -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 +:+ -- 1.7.10.4