From 2f541dc00bdc26726375b2f6f909926fb5424ed2 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Tue, 24 Mar 2009 14:53:25 +0000 Subject: [PATCH] Remove some redundant fromInteger's --- GHC/Num.lhs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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] -- 1.7.10.4