Clean up TH's treatment of unary tuples (or, #16881 part two)
!1906 left some loose ends in regards to Template Haskell's treatment of unary tuples. This patch ends to tie up those loose ends: * In addition to having `TupleT 1` produce unary tuples, `TupE [exp]` and `TupP [pat]` also now produce unary tuples. * I have added various special cases in GHC's pretty-printers to ensure that explicit 1-tuples are printed using the `Unit` type. See `testsuite/tests/th/T17380`. * The GHC 8.10.1 release notes entry has been tidied up a little. Fixes #16881. Fixes #17371. Fixes #17380.
Showing
testsuite/tests/th/T16881.hs
0 → 100644
testsuite/tests/th/T17380.hs
0 → 100644
-
mentioned in merge request !2005 (closed)
-
mentioned in issue #17380 (closed)
-
mentioned in issue #16881 (closed)
-
mentioned in commit RyanGlScott/head.hackage@ec42438a
-
mentioned in merge request head.hackage!55 (merged)
-
mentioned in issue #17371 (closed)
-
mentioned in commit RyanGlScott/head.hackage@98a9ca51
-
mentioned in commit RyanGlScott/head.hackage@561fa0d7
-
mentioned in commit RyanGlScott/head.hackage@7e81c6f5
-
mentioned in commit RyanGlScott/head.hackage@029c030c
-
mentioned in commit RyanGlScott/head.hackage@aea92517
Please register or sign in to comment