On Wed, Jun 22, 2016 at 4:43 PM, Matthew Johnson <[email protected]> wrote:
>
> On Jun 22, 2016, at 1:55 PM, Dmitri Gribenko <[email protected]> wrote:
> protocol _IntegerLiteralSyntax {}
> enum Syntax {
> typealias IntegerLiteral = _IntegerLiteralSyntax
> }
>
> And used like this:
>
> struct Int : Syntax.IntegerLiteral {}
>
>
> Is anyone on the core team planning to write up a proposal for this change?
Your help would be most appreciated!
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