[swift-evolution] [swift-evolution-announce] [Review] SE-0067: Enhanced Floating Point Protocols

Chris Lattner clattner at apple.com
Tue Apr 26 13:39:11 CDT 2016


> On Apr 26, 2016, at 9:19 AM, Jordan Rose via swift-evolution <swift-evolution at swift.org> wrote:
> 
> I tend to agree. I’d like the inconsistency concerning operators and dispatch to be resolved by investigating making operators into members, not by forcing operators to be second-class citizens. (Obviously this deserves its own proposal and its own discussion.)

Though that has been the plan for a long time, I wonder if the opposite approach is better: make operators always be global, and never be allowed as protocol members. That would give us a very consistent design.

-Chris


More information about the swift-evolution mailing list