> On Jun 9, 2017, at 8:12 AM, Gor Gyolchanyan via swift-evolution > <[email protected]> wrote: > >> >> So I wonder if any of you have had any thoughts about what Swift's >> parentheses-related future (or evolutionary baggage) will be? >> > > I really wish swift used the concept of tuples **exclusively** for all > purposes that involve parentheses, as well as dividing tuples into two > categories: > - Bare tuples, which do not have labels. > - Rich tuples, which do. > As a consequence, here's a list of statements that would become true: > - All functions take exactly one parameter, which is a tuple.
That’s what we used to do. It caused problems with other language features (“inout" and “variadic" parameters were the two big ones, IIRC). - Dave Sweeris
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
