[swift-dev] SR-122 / CollectionsMoveIndices.swift Prototype

Dmitri Gribenko gribozavr at gmail.com
Sun Feb 21 18:11:54 CST 2016

On Sun, Feb 21, 2016 at 9:57 AM, Shawn Erickson <shawnce at gmail.com> wrote:
> First I see that Dmitri G. appears to be most involved with this yet in the
> other thread I see Dmitri H. being copied. So which/both of you involved
> with this effort? ...or are you one and the same given the similarity of the
> name? /me hopes he doesn't look like a total idiot now

I'm just one Dmitri.

> Second given commit access limits it may make sense for those of us on the
> "outside" to work in same fork (e.g. added as collaborators)? It may help
> avoid pull request overhead between us while work is underway? My github
> identity is "shawnce". I have a fork created
> https://github.com/shawnce/swift if so desired to use that as the sandbox
> (set default branch to swift-3-indexing-model). ...looking for guidance on
> how best to make things work efficiently.

I'll check if it is possible to give you commit access.

> I am digging into
> https://github.com/apple/swift/blob/master/test/Prototypes/CollectionsMoveIndices.swift
> to understand the scope of the work involved.
> Anyway I am looking at the current state of the code and I see things like
> the following...
>    @available(*, unavailable, renamed="MutableCollection")
>     public typealias MutableCollectionType = MutableCollection
> ...so it looks like the use of Type is being dropped in the updated naming
> methodology? So this obviously implies... right?
> //     [new]   protocol BidirectionalCollection : Collection {}
> //     [new]   protocol RandomAccessCollection : BidirectionalCollection

Right.  The prototype is currently written using old names.


(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/

More information about the swift-dev mailing list