Re: [swift-users] Workaround for generics not currently supporting conditional conformance to a protocol

2016-11-16 Thread David Sweeris via swift-users
> On Nov 16, 2016, at 16:35, Jordan Rose wrote: > > >>> On Nov 16, 2016, at 7:35, David Sweeris via swift-users >>> wrote: >>> >>> >>> On Nov 15, 2016, at 11:55 PM, Howard Lovatt wrote: >>> >>> @Dave, >>> >>> How do

Re: [swift-users] Workaround for generics not currently supporting conditional conformance to a protocol

2016-11-16 Thread Howard Lovatt via swift-users
Pity nothing else works, looks like I am stuck with multiple wrappers. I will echo Dave's, Tim's, and Jordan's thoughts, roll on Conditional Conformance. Thanks for your help. -- Howard. On 17 November 2016 at 09:35, Jordan Rose wrote: > > On Nov 16, 2016, at 7:35,

[swift-users] Workaround for generics not currently supporting conditional conformance to a protocol

2016-11-15 Thread Howard Lovatt via swift-users
Hi All, Does anyone have a good workaround for generics not currently supporting conditional conformance to a protocol. As stated in the Generics Manifesto something like this would be nice: extension Array: Equatable where Element: Equatable { static func ==(lhs: Array, rhs: Array) ->