From 9b32fc97f6946758f4fc46f89e5411e133e99ff8 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 12 Feb 2002 15:51:26 +0000 Subject: [PATCH] [project @ 2002-02-12 15:51:26 by simonmar] Remove fromInt/toInt --- GHC/Real.lhs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/GHC/Real.lhs b/GHC/Real.lhs index 0c27ce3..98edd2e 100644 --- a/GHC/Real.lhs +++ b/GHC/Real.lhs @@ -1,5 +1,5 @@ % ------------------------------------------------------------------------------ -% $Id: Real.lhs,v 1.2 2001/12/21 15:07:25 simonmar Exp $ +% $Id: Real.lhs,v 1.3 2002/02/12 15:51:26 simonmar Exp $ % % (c) The University of Glasgow, 1994-2000 % @@ -282,16 +282,6 @@ realToFrac = fromRational . toRational {-# RULES "realToFrac/Int->Int" realToFrac = id :: Int -> Int #-} - --- For backward compatibility -{-# DEPRECATED fromInt "use fromIntegral instead" #-} -fromInt :: Num a => Int -> a -fromInt = fromIntegral - --- For backward compatibility -{-# DEPRECATED toInt "use fromIntegral instead" #-} -toInt :: Integral a => a -> Int -toInt = fromIntegral \end{code} %********************************************************* -- 1.7.10.4