summaryrefslogtreecommitdiff
path: root/compiler/GHC/Hs/Pat.hs
diff options
context:
space:
mode:
authorTom Ellis <tom.ellis@microsoft.com>2020-05-29 16:58:19 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-06-01 06:39:55 -0400
commit68b71c4a99ef7c009e0095823950cd12408ad7fe (patch)
tree3be68edb5c47e45ea2efeacbe89cc422648218e4 /compiler/GHC/Hs/Pat.hs
parent8f2e5732b0eec2d99b821a7f622aee8b2c00739a (diff)
downloadhaskell-68b71c4a99ef7c009e0095823950cd12408ad7fe.tar.gz
Rename the singleton tuple GHC.Tuple.Unit to GHC.Tuple.Solo
Diffstat (limited to 'compiler/GHC/Hs/Pat.hs')
-rw-r--r--compiler/GHC/Hs/Pat.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Hs/Pat.hs b/compiler/GHC/Hs/Pat.hs
index 241e3c59e0..7a3f91072d 100644
--- a/compiler/GHC/Hs/Pat.hs
+++ b/compiler/GHC/Hs/Pat.hs
@@ -570,7 +570,7 @@ pprPat (SigPat _ pat ty) = ppr pat <+> dcolon <+> ppr_ty
pprPat (ListPat _ pats) = brackets (interpp'SP pats)
pprPat (TuplePat _ pats bx)
-- Special-case unary boxed tuples so that they are pretty-printed as
- -- `Unit x`, not `(x)`
+ -- `Solo x`, not `(x)`
| [pat] <- pats
, Boxed <- bx
= hcat [text (mkTupleStr Boxed 1), pprParendLPat appPrec pat]