From: Ian Lynagh Date: Tue, 24 Mar 2009 14:53:25 +0000 (+0000) Subject: Remove some redundant fromInteger's X-Git-Tag: 2009-06-25~46 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=2f541dc00bdc26726375b2f6f909926fb5424ed2;p=ghc-base.git Remove some redundant fromInteger's --- diff --git a/GHC/Num.lhs b/GHC/Num.lhs index da4ab04..307909d 100644 --- a/GHC/Num.lhs +++ b/GHC/Num.lhs @@ -180,8 +180,8 @@ integerToString n0 cs0 jsplith p (n:ns) = case n `quotRemInteger` p of (# q, r #) -> - if q > 0 then fromInteger q : fromInteger r : jsplitb p ns - else fromInteger r : jsplitb p ns + if q > 0 then q : r : jsplitb p ns + else r : jsplitb p ns jsplith _ [] = error "jsplith: []" jsplitb :: Integer -> [Integer] -> [Integer]