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

Matthew Johnson matthew at anandabits.com
Tue May 24 18:15:55 CDT 2016



Sent from my iPad

On May 24, 2016, at 6:09 PM, Brent Royal-Gordon via swift-evolution <swift-evolution at swift.org> wrote:

>> 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.

I don't recall a proposal around operators for Set.  What did people want to use?  The obvious candidates are way too hard to type on the keyboards we have today.

> 
> -- 
> Brent Royal-Gordon
> Architechies
> 
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution



More information about the swift-evolution mailing list