Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
13829 commits behind the upstream repository.
Ryan Scott's avatar
Ryan Scott authored
!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.
708c60aa
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.