diff options
author | David Waern <davve@dtek.chalmers.se> | 2007-10-02 23:05:00 +0000 |
---|---|---|
committer | David Waern <davve@dtek.chalmers.se> | 2007-10-02 23:05:00 +0000 |
commit | 67f4209e6734573594f6eb7f562219424427e128 (patch) | |
tree | e13622506ba5874bb01ad9c9cad52bfa05c554b2 /src/Haddock/Backends/Html.hs | |
parent | fe2f0cc0e8fda4b4cfe6ea64083c91dbfec2cadb (diff) |
FIX: double arrows in constructor contexts
Diffstat (limited to 'src/Haddock/Backends/Html.hs')
-rw-r--r-- | src/Haddock/Backends/Html.hs | 2 |
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 ". " |