aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/Html.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/Backends/Html.hs')
-rw-r--r--src/Haddock/Backends/Html.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Haddock/Backends/Html.hs b/src/Haddock/Backends/Html.hs
index 68d1da42..24a9b3d2 100644
--- a/src/Haddock/Backends/Html.hs
+++ b/src/Haddock/Backends/Html.hs
@@ -1517,8 +1517,9 @@ ppForAll Explicit ltvs lctxt =
ppBang :: HsBang -> Html
ppBang HsNoBang = empty
ppBang HsStrict = toHtml "!"
-ppBang HsUnbox = toHtml "!" -- unboxed args is an implementation detail,
+ppBang HsUnpack = toHtml "!" -- unboxed args is an implementation detail,
-- so we just show the strictness annotation
+ppBang HsUnpackFailed = toHtml "!" -- unboxed args is an implementation detail,
tupleParens :: Boxity -> [Html] -> Html