[swift-evolution] Symmetrical operators

David Sweeris davesweeris at mac.com
Sun Nov 13 20:03:59 CST 2016


> On Nov 13, 2016, at 19:04, arkadi daniyelian <arkdan at icloud.com> wrote:
> 
> David, what about un-labeled parameters? If a function has 2 parameters of the same type, how does compiler know which ones's which?

If a function has two unlabeled parameters of the same type, you can already swap their order at the call site.

- Dave Sweeris
 


More information about the swift-evolution mailing list