From d6879efffb00546c8009d96612306a34a919852c Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Wed, 27 Oct 2010 19:39:31 +0000 Subject: [PATCH] Add an INLINE pragma on fromInteger on Int --- GHC/Num.lhs | 1 + 1 file changed, 1 insertion(+) diff --git a/GHC/Num.lhs b/GHC/Num.lhs index e16a350..5a94949 100644 --- a/GHC/Num.lhs +++ b/GHC/Num.lhs @@ -111,6 +111,7 @@ instance Num Int where | n `eqInt` 0 = 0 | otherwise = 1 + {-# INLINE fromInteger #-} -- Just to be sure! fromInteger i = I# (toInt# i) quotRemInt :: Int -> Int -> (Int, Int) -- 1.7.10.4