Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haddock
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Apoorv Ingle
haddock
Commits
925c54bb
Commit
925c54bb
authored
13 years ago
by
Iavor S. Diatchki
Browse files
Options
Downloads
Patches
Plain Diff
Rename variable to avoid shadowing warning.
parent
780fdc54
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Haddock/Backends/Xhtml/Decl.hs
+2
-2
2 additions, 2 deletions
src/Haddock/Backends/Xhtml/Decl.hs
with
2 additions
and
2 deletions
src/Haddock/Backends/Xhtml/Decl.hs
+
2
−
2
View file @
925c54bb
...
...
@@ -741,8 +741,8 @@ ppr_mono_ty ctxt_prec (HsOpTy ty1 (_, op) ty2) unicode qual
=
maybeParen
ctxt_prec
pREC_FUN
$
ppr_mono_lty
pREC_OP
ty1
unicode
qual
<+>
ppr_op
<+>
ppr_mono_lty
pREC_OP
ty2
unicode
qual
where
ppr_op
=
if
not
(
isSymOcc
occ
Name
)
then
quote
(
ppLDocName
qual
op
)
else
ppLDocName
qual
op
occ
Name
=
nameOccName
.
getName
.
unLoc
$
op
ppr_op
=
if
not
(
isSymOcc
occ
)
then
quote
(
ppLDocName
qual
op
)
else
ppLDocName
qual
op
occ
=
nameOccName
.
getName
.
unLoc
$
op
ppr_mono_ty
ctxt_prec
(
HsParTy
ty
)
unicode
qual
-- = parens (ppr_mono_lty pREC_TOP ty)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment