From 3f11c04f216c789bbe7fd795ff1651b8d5552552 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 15 Nov 2006 10:43:22 +0000 Subject: [PATCH] restore compilation with 5.04 --- compiler/prelude/PrelRules.lhs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/prelude/PrelRules.lhs b/compiler/prelude/PrelRules.lhs index 0775670..3863351 100644 --- a/compiler/prelude/PrelRules.lhs +++ b/compiler/prelude/PrelRules.lhs @@ -45,7 +45,8 @@ import Outputable import FastString import StaticFlags ( opt_SimplExcessPrecision ) -import Data.Bits as Bits ( Bits(..) ) +import Data.Bits as Bits ( Bits(..), shiftL, shiftR ) + -- shiftL and shiftR were not always methods of Bits #if __GLASGOW_HASKELL__ >= 500 import Data.Word ( Word ) #else -- 1.7.10.4