From 0250da18e360124b889f13011f75f9a8b71c7072 Mon Sep 17 00:00:00 2001 From: qrczak Date: Thu, 1 Mar 2001 19:10:16 +0000 Subject: [PATCH] [project @ 2001-03-01 19:10:16 by qrczak] Mark fromInt and toInt as deprecated. --- ghc/lib/std/PrelReal.lhs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ghc/lib/std/PrelReal.lhs b/ghc/lib/std/PrelReal.lhs index 6748108..5452cc5 100644 --- a/ghc/lib/std/PrelReal.lhs +++ b/ghc/lib/std/PrelReal.lhs @@ -1,5 +1,5 @@ % ------------------------------------------------------------------------------ -% $Id: PrelReal.lhs,v 1.10 2001/02/28 00:01:03 qrczak Exp $ +% $Id: PrelReal.lhs,v 1.11 2001/03/01 19:10:16 qrczak Exp $ % % (c) The University of Glasgow, 1994-2000 % @@ -283,12 +283,12 @@ realToFrac = fromRational . toRational #-} -- For backward compatibility -{- DEPRECATED fromInt "use fromIntegral instead" -} +{-# DEPRECATED fromInt "use fromIntegral instead" #-} fromInt :: Num a => Int -> a fromInt = fromIntegral -- For backward compatibility -{- DEPRECATED toInt "use fromIntegral instead" -} +{-# DEPRECATED toInt "use fromIntegral instead" #-} toInt :: Integral a => a -> Int toInt = fromIntegral \end{code} -- 1.7.10.4