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
cf05fd69
Commit
cf05fd69
authored
Jun 12, 2012
by
Ian Lynagh
Browse files
Remove unused showsPrecSDoc
parent
2ba157bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/utils/Outputable.lhs
View file @
cf05fd69
...
...
@@ -45,7 +45,7 @@ module Outputable (
showSDoc, showSDocOneLine,
showSDocForUser, showSDocDebug, showSDocDump, showSDocDumpOneLine,
showPpr,
showSDocUnqual,
showsPrecSDoc,
showSDocUnqual,
renderWithStyle,
pprInfixVar, pprPrefixVar,
...
...
@@ -385,9 +385,6 @@ showSDocUnqual :: DynFlags -> SDoc -> String
showSDocUnqual _ d
= show (runSDoc d (initSDocContext (mkUserStyle neverQualify AllTheWay)))
showsPrecSDoc :: Int -> SDoc -> ShowS
showsPrecSDoc p d = showsPrec p (runSDoc d (initSDocContext defaultUserStyle))
showSDocDump :: DynFlags -> SDoc -> String
showSDocDump _ d
= Pretty.showDocWith PageMode (runSDoc d (initSDocContext defaultDumpStyle))
...
...
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