aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/Html.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/Backends/Html.hs')
-rw-r--r--src/Haddock/Backends/Html.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Haddock/Backends/Html.hs b/src/Haddock/Backends/Html.hs
index d3e4478c..e0bf0d20 100644
--- a/src/Haddock/Backends/Html.hs
+++ b/src/Haddock/Backends/Html.hs
@@ -1125,10 +1125,10 @@ ppDataHead :: Bool -> Name -> [Name] -> Html
ppDataHead summary name tyvars
-- (a :+: b) c d
- | isConSym name && length tyvars > 2 = parens first2 <+> rest
+ | isNameSymOcc name && length tyvars > 2 = parens first2 <+> rest
-- a :+: b
- | isConSym name = first2
+ | isNameSymOcc name = first2
-- Would like a case for:
-- a `O` b