Re: [swift-users] Collection Oddities

2017-02-09 Thread Dave Abrahams via swift-users
on Tue Feb 07 2017, Guillaume Lessard wrote: >> On 7 févr. 2017, at 21:57, Slava Pestov wrote: >> >>> >>> On Feb 7, 2017, at 8:14 PM, Guillaume Lessard via swift-users >>> wrote: >>> > >>> I keep running into weird things with Swift 3 Collections. >>> >>> A) Collection has its count prope

Re: [swift-users] Collection Oddities

2017-02-07 Thread Guillaume Lessard via swift-users
> On 7 févr. 2017, at 21:57, Slava Pestov wrote: > >> >> On Feb 7, 2017, at 8:14 PM, Guillaume Lessard via swift-users >> wrote: >> >> I keep running into weird things with Swift 3 Collections. >> >> A) Collection has its count property defined as an Int via IndexDistance: >> >> public pro

Re: [swift-users] Collection Oddities

2017-02-07 Thread Slava Pestov via swift-users
> On Feb 7, 2017, at 8:14 PM, Guillaume Lessard via swift-users > wrote: > > I keep running into weird things with Swift 3 Collections. > > A) Collection has its count property defined as an Int via IndexDistance: > > public protocol Collection : Indexable, Sequence { >associatedtype Inde