On Sun, Apr 17, 2016 at 11:10 AM, Matthew Johnson via swift-evolution
<[email protected]> 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 <[email protected]>*/
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution