summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-09-15 20:44:28 +0100
committerIan Lynagh <igloo@earth.li>2011-10-12 16:30:31 +0100
commitb59fe25a24c4b913a9935c71b1b42a060ab53dcc (patch)
treea55c7006c021426968923f5249e86b33cce1dbd2 /utils
parent2a9f42095cb2d9aace991b11bf052d12ca654ef8 (diff)
downloadhaskell-b59fe25a24c4b913a9935c71b1b42a060ab53dcc.tar.gz
Follow the removal of the Show superclass of Num
Diffstat (limited to 'utils')
-rw-r--r--utils/hpc/HpcMarkup.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/hpc/HpcMarkup.hs b/utils/hpc/HpcMarkup.hs
index 46e17090f4..dff6012cb0 100644
--- a/utils/hpc/HpcMarkup.hs
+++ b/utils/hpc/HpcMarkup.hs
@@ -406,7 +406,7 @@ showTotalSummary modSummary =
showSummary (expTicked modSummary) (expTotal modSummary) ++
"</tr>\n"
-showSummary :: (Integral t) => t -> t -> String
+showSummary :: (Integral t, Show t) => t -> t -> String
showSummary ticked total =
"<td align=\"right\">" ++ showP (percent ticked total) ++ "</td>" ++
"<td>" ++ show ticked ++ "/" ++ show total ++ "</td>" ++