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:
2afaa0e
)
[project @ 1998-10-21 11:37:03 by sof]
author
sof
<unknown>
Wed, 21 Oct 1998 11:37:03 +0000
(11:37 +0000)
committer
sof
<unknown>
Wed, 21 Oct 1998 11:37:03 +0000
(11:37 +0000)
Removed commented-out Haskell-1.2 methods
ghc/lib/std/PrelNum.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/std/PrelNum.lhs
b/ghc/lib/std/PrelNum.lhs
index
3930bfd
..
603caf1
100644
(file)
--- a/
ghc/lib/std/PrelNum.lhs
+++ b/
ghc/lib/std/PrelNum.lhs
@@
-268,9
+268,6
@@
instance Integral Int where
divMod x@(I# _) y@(I# _) = (x `div` y, x `mod` y)
-- Stricter. Sorry if you don't like it. (WDP 94/10)
---OLD: even x = eqInt (x `mod` 2) 0
---OLD: odd x = neInt (x `mod` 2) 0
-
toInteger (I# n#) = int2Integer# n# -- give back a full-blown Integer
toInt x = x