Non-punning list and tuple syntax (-XListTuplePuns, -XNoListTuplePuns)
This ticket is to track the implementation of GHC Proposal #475 "Non-punning list and tuple syntax".
I intend to break the implementation into multiple parts, so here's a checklist for things that have been implemented and merged so far:
-
Export Solo(MkSolo)fromGHC.Tuple(2463df2f) -
Export Unit,Tuple<n>fromGHC.Tuple(a13affce) -
Export CUnit,CSolo,CTuple<n>fromGHC.Classes,GHC.Exts(d91d00fc) -
Export Unit#,Solo#,Tuple<n>#, andSum<n>#fromGHC.Exts(d91d00fc) -
Export Tuple,TupleArgKind,Constraints,TupleArgKind#,Tuple#, andSum#fromGHC.Tuple -
Export ListfromGHC.TypesandGHC.List(02279a9c) -
Create Prelude.Experimentaland re-exportUnit,Solo,Tuple<n>,CUnit,CSolo,CTuple<n>,List(d91d00fc) -
Implement the ListTuplePunsextension to control parsing and pretty-printing (d91d00fc)
The proposal also prescribes to remove the Solo pattern synonym in three releases. Since this is to be done later, it will be tracked in a separate ticket.
Edited by Vladislav Zavialov