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:
f3c0c25
)
[project @ 2001-05-07 11:42:31 by simonmar]
author
simonmar
<unknown>
Mon, 7 May 2001 11:42:31 +0000
(11:42 +0000)
committer
simonmar
<unknown>
Mon, 7 May 2001 11:42:31 +0000
(11:42 +0000)
typo in Word64 code pointed out by Alastair Reid.
ghc/lib/std/PrelWord.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/std/PrelWord.lhs
b/ghc/lib/std/PrelWord.lhs
index
7848de2
..
d2e44de
100644
(file)
--- a/
ghc/lib/std/PrelWord.lhs
+++ b/
ghc/lib/std/PrelWord.lhs
@@
-629,7
+629,7
@@
foreign import "stg_shiftRL64" unsafe shiftRL64# :: Word64# -> Int# -> W
#else
-data Word32 = W64# Word# deriving (Eq, Ord)
+data Word64 = W64# Word# deriving (Eq, Ord)
instance Num Word64 where
(W64# x#) + (W64# y#) = W64# (x# `plusWord#` y#)