>>> 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. > > It is a joke, right? The layout of the keyboards used in one country as a > driver for a feature.
I was a bit in shock when I saw this: https://github.com/apple/swift/blob/master/stdlib/internal/SwiftExperimental/SwiftExperimental.swift I know it's marked experimental, but wow... It looks pretty, but it's insane and IMHO something that shouldn't be in the standard lib's master branch. _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
