Re: [swift-evolution] [Pitch] Normalize Slice Types for Unsafe Buffers

2016-12-08 Thread Alexis Beingessner via swift-evolution
> On Dec 8, 2016, at 3:50 PM, Dave Abrahams via swift-evolution > wrote: > > > on Thu Dec 08 2016, Ben Cohen wrote: > >>> On Dec 2, 2016, at 8:27 PM, Nate Cook wrote: >>> On Dec 2, 2016, at 2:12 PM, Ben Cohen via swift-evolution

Re: [swift-evolution] What about renaming Optional.map to Optional.mapMe ?

2016-12-05 Thread Alexis Beingessner via swift-evolution
This same issue applies to an Array of Arrays, wherein there is no renaming solution. That is, you've built a Collection of Collection, and have mixed up the inner and outer collections. I expect in most cases you'll run into a type error when you try to use the result. This is an unfortunate

Re: [swift-evolution] [swift-build-dev] Proposal: Package Manager Version Pinning

2016-10-14 Thread Alexis Beingessner via swift-evolution
> On Oct 14, 2016, at 8:00 PM, Paul Cantrell wrote: > > >>> On Oct 14, 2016, at 6:42 PM, Daniel Dunbar wrote: >>> >>> On Oct 14, 2016, at 4:02 PM, Paul Cantrell wrote: >>> >>> I’m puzzled. If a package’s pinning does not

Re: [swift-evolution] PITCH: New :== operator for generic constraints

2016-08-18 Thread Alexis Beingessner via swift-evolution
Slava and Joe's suggestion of self conformance and the constraints involved are something that's been explored in other languages with similar systems. There's a great series of posts discussing some of the issues at hand: These describe the constraints of interest (“object safety”):