On Sat, Apr 16, 2016 at 11:50 PM, Taras Zakharko via swift-evolution <swift-evolution@swift.org> wrote: > Hi Nate, > > I think this is a very useful addition! I also had a related proposal few > days ago: > https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160411/014665.html > > I feel like min/max extension and element order belong to the same family > of enhancements. If you are interested, maybe we can combine them together > into a single proposal?
Thanks Nate and Taras! I'd recommend to keep minmax and .order() proposals separate. 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 <griboz...@gmail.com>*/ _______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution