From: Ian Lynagh Date: Sat, 11 Nov 2006 20:59:16 +0000 (+0000) Subject: Fix broken pragmas; spotted by Bulat Ziganshin X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=ef10a81db3b6e3c3cb77af0c933214043f45d444;p=haskell-directory.git Fix broken pragmas; spotted by Bulat Ziganshin --- diff --git a/GHC/Arr.lhs b/GHC/Arr.lhs index 87ce3b2..8f439cd 100644 --- a/GHC/Arr.lhs +++ b/GHC/Arr.lhs @@ -199,15 +199,15 @@ instance Ix () where instance (Ix a, Ix b) => Ix (a, b) where -- as derived {-# SPECIALISE instance Ix (Int,Int) #-} - {- INLINE range #-} + {-# INLINE range #-} range ((l1,l2),(u1,u2)) = [ (i1,i2) | i1 <- range (l1,u1), i2 <- range (l2,u2) ] - {- INLINE unsafeIndex #-} + {-# INLINE unsafeIndex #-} unsafeIndex ((l1,l2),(u1,u2)) (i1,i2) = unsafeIndex (l1,u1) i1 * unsafeRangeSize (l2,u2) + unsafeIndex (l2,u2) i2 - {- INLINE inRange #-} + {-# INLINE inRange #-} inRange ((l1,l2),(u1,u2)) (i1,i2) = inRange (l1,u1) i1 && inRange (l2,u2) i2