[swift-evolution] Remove (!) logical negation operator

Al Skipp al_skipp at fastmail.fm
Tue Dec 15 15:31:52 CST 2015


> On 15 Dec 2015, at 20:33, Jordan Rose via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Today &&, ||, (prefix) !, !=, and !== are not magic; they are just like every other operator. Adding user-overridable keyword operators would be a non-trivial change to the language.
> 
> (Everyone—nearly—keeps forgetting about != and !==. Replacing these with not(a == b) is not really a good answer.)
> 
> Jordan


There’s always /= and /== (not a serious suggestion, but it could work : )

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151215/0cd3fe37/attachment.html>


More information about the swift-evolution mailing list