Mark fromInt and toInt as deprecated.
% ------------------------------------------------------------------------------
% ------------------------------------------------------------------------------
-% $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
%
%
% (c) The University of Glasgow, 1994-2000
%
#-}
-- For backward compatibility
#-}
-- For backward compatibility
-{- DEPRECATED fromInt "use fromIntegral instead" -}
+{-# DEPRECATED fromInt "use fromIntegral instead" #-}
fromInt :: Num a => Int -> a
fromInt = fromIntegral
-- For backward compatibility
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}
toInt :: Integral a => a -> Int
toInt = fromIntegral
\end{code}