projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cb0eb0
)
restore compilation with 5.04
author
Simon Marlow
<simonmar@microsoft.com>
Wed, 15 Nov 2006 10:43:22 +0000
(10:43 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Wed, 15 Nov 2006 10:43:22 +0000
(10:43 +0000)
compiler/prelude/PrelRules.lhs
patch
|
blob
|
history
diff --git
a/compiler/prelude/PrelRules.lhs
b/compiler/prelude/PrelRules.lhs
index
0775670
..
3863351
100644
(file)
--- 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