Commit b59fe25a authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Follow the removal of the Show superclass of Num

parent 2a9f4209
......@@ -66,7 +66,7 @@ is32BitInteger i
-- | Sadness.
largeOffsetError :: Integral a => a -> b
largeOffsetError :: (Integral a, Show a) => a -> b
largeOffsetError i
= panic ("ERROR: SPARC native-code generator cannot handle large offset ("
++ show i ++ ");\nprobably because of large constant data structures;" ++
......
......@@ -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>" ++
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment