[swift-evolution] Inquiry: Status of SR-122 ?

Dmitri Gribenko gribozavr at gmail.com
Sat Jan 2 10:24:26 CST 2016


On Sat, Jan 2, 2016 at 4:53 AM, Dave Abrahams via swift-evolution
<swift-evolution at swift.org> wrote:
>
>> On Jan 1, 2016, at 4:34 PM, plx via swift-evolution <swift-evolution at swift.org> wrote:
>>
>> I was preparing a proposal-sketch relating to this earlier discussion: http://article.gmane.org/gmane.comp.lang.swift.evolution/1629
>>
>> …which is largely about inserting "intermediate steps” between `SequenceType` and `CollectionType`, but to get the full benefit would likely wind up requiring modifications to the API on the `*Index` types (e.g. `ForwardIndexType`, which at present is required of a `CollectionType`’s `Index`).
>>
>> Searching for prior discussion/work I found this bug: https://bugs.swift.org/browse/SR-122 , and was curious if anything further has happened on that topic?
>
> Yes, Dmitri has been making progress on an implementation.  He may be able to point you at it…

The prototype is checked in at
test/Prototypes/CollectionsMoveIndices.swift, feel free to ask me more
questions about it.

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