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

Shawn Erickson shawnce at gmail.com
Wed Mar 9 18:09:44 CST 2016


On Wed, Mar 9, 2016 at 3:59 PM Dmitri Gribenko <gribozavr at gmail.com> wrote:

> On Wed, Mar 9, 2016 at 3:52 PM, Shawn Erickson <shawnce at gmail.com> wrote:
> > I see a handful of issues like the following coming about because of
> changes
> > to `Range`. In the past `Range` conformed to `Collection` so `count` came
> > from `Collection` which returned a type of `ForwardIndex.Distance` (e.g.
> > `_SignedInteger`). It now comes from `Strideable`’s `distance(to:)` which
> > returns `Strideable.Stride` (e.g. `SignedNumber`).
>
> Yeah, we had those.  Try pulling from the branch, I have resolved some
> of these issues.  I'll be working on HashedCollections next, feel free
> to take Flatten and FlatMap.
>

Ah I see... should have thought of that fix, forest for the trees.

You also fixed some of the things I had fixed locally! :)

Will put aside my changes for all but Flatten at the moment.

Thanks,
-Shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160310/2619f8b2/attachment.html>


More information about the swift-dev mailing list