aboutsummaryrefslogtreecommitdiff
path: root/haddock-api
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2014-08-24 08:14:10 +0200
committerNiklas Haas <git@nand.wakku.to>2014-08-24 08:14:10 +0200
commit26a44b9f3f539e93f499eea4eda6a354f46b20da (patch)
tree31f6fa651e873e901c03dfbb93fd32006991ed23 /haddock-api
parentfefef1c49075acc4390db822fad7e351c777e847 (diff)
Fix extra whitespace on signatures and update all test cases
This was long overdue, now running ./accept.lhs on a clean test from master will not generate a bunch of changes.
Diffstat (limited to 'haddock-api')
-rw-r--r--haddock-api/src/Haddock/Backends/Xhtml/Decl.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs b/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs
index 8884f69f..8e42ff47 100644
--- a/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs
+++ b/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs
@@ -822,8 +822,8 @@ ppr_mono_lty ctxt_prec ty = ppr_mono_ty ctxt_prec (unLoc ty)
ppr_mono_ty :: Int -> HsType DocName -> Unicode -> Qualification -> Html
ppr_mono_ty ctxt_prec (HsForAllTy expl tvs ctxt ty) unicode qual
- = maybeParen ctxt_prec pREC_FUN $
- hsep [ppForAll expl tvs ctxt unicode qual, ppr_mono_lty pREC_TOP ty unicode qual]
+ = maybeParen ctxt_prec pREC_FUN $ ppForAll expl tvs ctxt unicode qual
+ <+> ppr_mono_lty pREC_TOP ty unicode qual
-- UnicodeSyntax alternatives
ppr_mono_ty _ (HsTyVar name) True _