aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Waern <davve@dtek.chalmers.se>2007-10-02 23:05:00 +0000
committerDavid Waern <davve@dtek.chalmers.se>2007-10-02 23:05:00 +0000
commit67f4209e6734573594f6eb7f562219424427e128 (patch)
treee13622506ba5874bb01ad9c9cad52bfa05c554b2
parentfe2f0cc0e8fda4b4cfe6ea64083c91dbfec2cadb (diff)
FIX: double arrows in constructor contexts
-rw-r--r--src/Haddock/Backends/Html.hs2
1 files changed, 1 insertions, 1 deletions
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 ". "