From fdceb0b527144c33bce39a1165c97cfa073a0c74 Mon Sep 17 00:00:00 2001 From: David Waern Date: Wed, 21 Jan 2009 21:41:48 +0000 Subject: Do not indicate that a constructor argument is unboxed We only show the strictness annotation for an unboxed constructor argument. The fact that it is unboxed is an implementation detail and should not be part of the module interface. --- src/Haddock/Backends/Html.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Haddock/Backends/Html.hs b/src/Haddock/Backends/Html.hs index 4044e9ef..bd305518 100644 --- a/src/Haddock/Backends/Html.hs +++ b/src/Haddock/Backends/Html.hs @@ -1415,7 +1415,8 @@ ppForAll Explicit ltvs lctxt = -} ppBang HsStrict = toHtml "!" -ppBang HsUnbox = toHtml "!!" +ppBang HsUnbox = toHtml "!" -- unboxed args is an implementation detail, + -- so we just show the strictness annotation tupleParens Boxed = parenList tupleParens Unboxed = ubxParenList -- cgit v1.2.3