[swift-evolution] [swift-evolution-announce] [Review] SE-0089: Replace protocol<P1, P2> syntax with Any<P1, P2>
shawnce at gmail.com
Tue May 24 18:20:20 CDT 2016
I believe it was things like "+" and "-" for set union and subtraction, etc.
On Tue, May 24, 2016 at 4:16 PM Matthew Johnson via swift-evolution <
swift-evolution at swift.org> wrote:
> 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
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution