<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">That doesn't sound future-proof. If it was in place and Range hadn't existed since the earliest Swift public release, it wouldn't be possible to define its precedence now.<br class=""><div class="">
<br class="Apple-interchange-newline"><span style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none;" class="">Félix</span>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">Le 3 avr. 2016 à 11:41:00, Ben Rimmington via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div class=""><<a href="https://github.com/Anton3/swift-evolution/blob/operator-precedence/proposals/" class="">https://github.com/Anton3/swift-evolution/blob/operator-precedence/proposals/</a><br class="">NNNN-operator-precedence.md><br class=""><br class="">Another way to eliminate numerical precedence is by using keywords:<br class=""><br class="">infix operator << {<br class=""> associativity none<br class=""> exponentiative<br class="">}<br class=""><br class="">infix operator * {<br class=""> associativity left<br class=""> multiplicative<br class="">}<br class=""><br class="">infix operator + {<br class=""> associativity left<br class=""> additive<br class="">}<br class=""><br class="">infix operator == {<br class=""> associativity none<br class=""> comparative<br class="">}<br class=""><br class="">infix operator += {<br class=""> associativity right<br class=""> assignment<br class="">}<br class=""><br class="">All operators would need to use one of the existing precedence groups (Table 2):<br class=""><br class=""><<a href="https://developer.apple.com/library/ios/documentation/Swift/Reference/" class="">https://developer.apple.com/library/ios/documentation/Swift/Reference/</a><br class="">Swift_StandardLibrary_Operators/><br class=""><br class="">-- Ben<br class=""><br class="">_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></div></blockquote></div><br class=""></body></html>