Add an INLINE pragma on fromInteger on Int
[ghc-base.git] / GHC / Num.lhs
index e16a350..5a94949 100644 (file)
@@ -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)