On Sun, Apr 17, 2016 at 11:10 AM, Matthew Johnson via swift-evolution
<swift-evolution@swift.org> wrote:
> These extension points are effectively “optional protocol requirements”.

I'm sorry, but they are not optional requirements.  They are
workarounds for a language issue -- inability to make
conditionally-available methods customizable by a conforming type.

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

Reply via email to