diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2018-08-21 22:24:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 22:24:03 -0700 |
commit | 6a9ada2426579b72696514b3fd081aacac9c5740 (patch) | |
tree | c3cbf5c8d7ec9c36fa9e91ccb7b3c5c2bbb7fe87 /haddock-api/src/Haddock/Backends/Xhtml | |
parent | 9ef12f3c2f0ef2948e6f4bd38fdfa002c416ab09 (diff) | |
parent | d23dbf3d54bf1c29a9720872f312a370f830b5ae (diff) |
Merge pull request #914 from harpocrates/feature/unboxed-stuff
Better rendering of unboxed sums, unboxed tuples, promoted tuples.
Diffstat (limited to 'haddock-api/src/Haddock/Backends/Xhtml')
-rw-r--r-- | haddock-api/src/Haddock/Backends/Xhtml/Utils.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Backends/Xhtml/Utils.hs b/haddock-api/src/Haddock/Backends/Xhtml/Utils.hs index 7fbaec6d..62781fd0 100644 --- a/haddock-api/src/Haddock/Backends/Xhtml/Utils.hs +++ b/haddock-api/src/Haddock/Backends/Xhtml/Utils.hs @@ -183,7 +183,7 @@ ubxSumList = ubxparens . hsep . punctuate (toHtml " | ") ubxparens :: Html -> Html -ubxparens h = toHtml "(#" +++ h +++ toHtml "#)" +ubxparens h = toHtml "(#" <+> h <+> toHtml "#)" dcolon, arrow, darrow, forallSymbol :: Bool -> Html |