[swift-evolution] [Review] SE-0006 Apply API Guidelines to the Standard Library

Dmitri Gribenko gribozavr at gmail.com
Fri Jan 22 18:22:41 CST 2016


On Fri, Jan 22, 2016 at 1:27 PM, plx via swift-evolution
<swift-evolution at swift.org> wrote:
> Really quickly, I think this is a mistake:
>
> SequenceType.minElement() => .min(), .maxElement() => .max().
>
>  extension Sequence {
> -  public func minElement(
> +  public func minElement(
>      @noescape isOrderedBefore: (Iterator.Element, Iterator.Element) throws
> -> Bool
>    ) rethrows -> Iterator.Element?

Thanks, fixed!

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