Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
b59fe25a
Commit
b59fe25a
authored
Sep 15, 2011
by
Ian Lynagh
Browse files
Follow the removal of the Show superclass of Num
parent
2a9f4209
Changes
2
Hide whitespace changes
Inline
Side-by-side
compiler/nativeGen/SPARC/Base.hs
View file @
b59fe25a
...
...
@@ -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
++
");
\n
probably because of large constant data structures;"
++
...
...
utils/hpc/HpcMarkup.hs
View file @
b59fe25a
...
...
@@ -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>"
++
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment