Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
2ab7971a
Commit
2ab7971a
authored
Oct 21, 1998
by
sof
Browse files
[project @ 1998-10-21 11:37:03 by sof]
Removed commented-out Haskell-1.2 methods
parent
2afaa0e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/lib/std/PrelNum.lhs
View file @
2ab7971a
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment