Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
3bc6df32
Commit
3bc6df32
authored
Jun 13, 2019
by
Andreas Klebinger
Committed by
Marge Bot
Jun 13, 2019
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Outputable instances for Float, Double.
parent
ec25fe59
Pipeline
#7126
failed with stages
in 234 minutes and 14 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
compiler/utils/Outputable.hs
compiler/utils/Outputable.hs
+6
-0
No files found.
compiler/utils/Outputable.hs
View file @
3bc6df32
...
...
@@ -813,6 +813,12 @@ instance Outputable Word32 where
instance
Outputable
Word
where
ppr
n
=
integer
$
fromIntegral
n
instance
Outputable
Float
where
ppr
f
=
float
f
instance
Outputable
Double
where
ppr
f
=
double
f
instance
Outputable
()
where
ppr
_
=
text
"()"
...
...
Marge Bot
💬
@marge-bot
mentioned in merge request
!1188 (closed)
·
Jun 14, 2019
mentioned in merge request
!1188 (closed)
mentioned in merge request !1188
Toggle commit list
Bryan R
@chreekat
mentioned in issue
#16824
·
Jun 15, 2019
mentioned in issue
#16824
mentioned in issue #16824
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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