From 67f4209e6734573594f6eb7f562219424427e128 Mon Sep 17 00:00:00 2001 From: David Waern Date: Tue, 2 Oct 2007 23:05:00 +0000 Subject: FIX: double arrows in constructor contexts --- src/Haddock/Backends/Html.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Haddock/Backends') diff --git a/src/Haddock/Backends/Html.hs b/src/Haddock/Backends/Html.hs index 84d68f2e..65cc8ee2 100644 --- a/src/Haddock/Backends/Html.hs +++ b/src/Haddock/Backends/Html.hs @@ -1016,7 +1016,7 @@ ppConstrHdr :: HsExplicitForAll -> [Name] -> HsContext DocName -> Html ppConstrHdr forall tvs ctxt = (if null tvs then noHtml else ppForall) +++ - (if null ctxt then noHtml else ppContext ctxt <+> toHtml "=> ") + (if null ctxt then noHtml else ppContextNoArrow ctxt <+> toHtml "=> ") where ppForall = case forall of Explicit -> keyword "forall" <+> hsep (map ppName tvs) <+> toHtml ". " -- cgit v1.2.3