summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAndrei Borzenkov <andreyborzenkov2002@gmail.com>2023-01-27 17:48:33 +0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-03-21 11:17:17 -0400
commita13affce1a6196ccff6c126112ab26823c85e727 (patch)
treef93cabe0d62bfe2c809437a885019bc92418a9c3 /utils
parent73d07c6e1986bd2b3516d4f009cc1e30ba804f06 (diff)
downloadhaskell-a13affce1a6196ccff6c126112ab26823c85e727.tar.gz
Rename () into Unit, (,,...,,) into Tuple<n> (#21294)
This patch implements a part of GHC Proposal #475. The key change is in GHC.Tuple.Prim: - data () = () - data (a,b) = (a,b) - data (a,b,c) = (a,b,c) ... + data Unit = () + data Tuple2 a b = (a,b) + data Tuple3 a b c = (a,b,c) ... And the rest of the patch makes sure that Unit and Tuple<n> are pretty-printed as () and (,,...,,) in various contexts. Updates the haddock submodule. Co-authored-by: Vladislav Zavialov <vlad.z.4096@gmail.com>
Diffstat (limited to 'utils')
m---------utils/haddock0
1 files changed, 0 insertions, 0 deletions
diff --git a/utils/haddock b/utils/haddock
-Subproject 519a95998b09a2c9c7a42c3a0cf2ca0c4358bb4
+Subproject 1f22a95c1db942fce2623b9daa26f66d193a4e7