From e390c635fc817df5da56c67a72988fe77f2b0318 Mon Sep 17 00:00:00 2001 From: David Waern Date: Sat, 29 Sep 2007 14:02:26 +0000 Subject: Use isSymOcc from OccName instead of isConSym --- src/Haddock/Backends/Html.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Haddock/Backends') 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 -- cgit v1.2.3