projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7082f4c
)
[project @ 2001-07-31 12:58:00 by simonmar]
author
simonmar
<unknown>
Tue, 31 Jul 2001 12:58:00 +0000
(12:58 +0000)
committer
simonmar
<unknown>
Tue, 31 Jul 2001 12:58:00 +0000
(12:58 +0000)
merge ghc/lib/std/PrelInt.lhs rev. 1.16-1.18
GHC/Int.lhs
patch
|
blob
|
history
diff --git
a/GHC/Int.lhs
b/GHC/Int.lhs
index
c091d67
..
54e6a5d
100644
(file)
--- a/
GHC/Int.lhs
+++ b/
GHC/Int.lhs
@@
-574,7
+574,7
@@
instance Bits Int64 where
isSigned _ = True
{-# RULES
-"fromIntegral/a->Int64" fromIntegral = \x -> case fromIntegral x of I# x# -> I64# (intToInt64# x#)
+"fromIntegral/a->Int64" fromIntegral = \x -> case fromIntegral x of I# x# -> I64# x#
"fromIntegral/Int64->a" fromIntegral = \(I64# x#) -> fromIntegral (I# x#)
#-}