From 2ab7971a23fb7b2a5613ab2f1d1c706bea7c28aa Mon Sep 17 00:00:00 2001 From: sof <unknown> Date: Wed, 21 Oct 1998 11:37:03 +0000 Subject: [PATCH] [project @ 1998-10-21 11:37:03 by sof] Removed commented-out Haskell-1.2 methods --- ghc/lib/std/PrelNum.lhs | 3 --- 1 file changed, 3 deletions(-) diff --git a/ghc/lib/std/PrelNum.lhs b/ghc/lib/std/PrelNum.lhs index 3930bfdec7a0..603caf19af67 100644 --- 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 -- GitLab