diff options
Diffstat (limited to 'src/Haddock')
-rw-r--r-- | src/Haddock/Backends/Html.hs | 4 |
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 |