[swift-evolution] [Draft][Proposal] Formalized Ordering

Dmitri Gribenko gribozavr at gmail.com
Thu Jul 21 23:02:05 CDT 2016


Hi,

On Thu, Jul 21, 2016 at 6:11 PM, Robert Widmann via swift-evolution
<swift-evolution at swift.org> wrote:
> Hello Swift Community,
>
> Harlan Haskins, Jaden Geller, and I have been working on a proposal to clean
> up the semantics of ordering relations in the standard library.

Great work!

As a part of your implementation, are you planning to add <=>
overloads for tuples, like we do now for comparison operators?  (See
stdlib/public/core/Tuple.swift.gyb.)

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/


More information about the swift-evolution mailing list