aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/LaTeX.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/Backends/LaTeX.hs')
-rw-r--r--src/Haddock/Backends/LaTeX.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Haddock/Backends/LaTeX.hs b/src/Haddock/Backends/LaTeX.hs
index c6ac2b0a..5c21f0cf 100644
--- a/src/Haddock/Backends/LaTeX.hs
+++ b/src/Haddock/Backends/LaTeX.hs
@@ -796,8 +796,8 @@ ppBang _ = char '!' -- Unpacked args is an implementation detail,
tupleParens :: HsTupleSort -> [LaTeX] -> LaTeX
-tupleParens (HsBoxyTuple _) = parenList
-tupleParens HsUnboxedTuple = ubxParenList
+tupleParens HsUnboxedTuple = ubxParenList
+tupleParens _ = parenList
-------------------------------------------------------------------------------