[swift-evolution] [swift-evolution-announce] [Review] SE-0089: Replace protocol<P1, P2> syntax with Any<P1, P2>

Brent Royal-Gordon brent at architechies.com
Tue May 24 18:09:07 CDT 2016


> If we're going to repaint this bikeshed, I think we should also consider as an alternative some form of infix syntax for composing constraints. Rust uses `P1 + P2`, and various C++ proposals have suggested `P1 && P2`.

Given our reluctance to even overload operators for use with Set, I'd personally find this a bit incongruous.

-- 
Brent Royal-Gordon
Architechies



More information about the swift-evolution mailing list