Re: [swift-evolution] [Proposal]Allow constraints on associatedtype and shorten type constraints list in function

2016-07-29 Thread Susan Cheng via swift-evolution
Thanks. I found this proposal in pull requests after the email sent. Anders Ha 於 2016年7月29日星期五 寫道: > It is one of the items in the Generics Manifesto, and we had a discussion > thread with a proposal on this already, however halted for being an > addictive feature. Anyway,

Re: [swift-evolution] [Proposal]Allow constraints on associatedtype and shorten type constraints list in function

2016-07-29 Thread Anders Ha via swift-evolution
It is one of the items in the Generics Manifesto, and we had a discussion thread with a proposal on this already, however halted for being an addictive feature. Anyway, aren't discussions on post Swift 3 matters preferred to start on Aug 1? Hart's proposal

[swift-evolution] [Proposal]Allow constraints on associatedtype and shorten type constraints list in function

2016-07-28 Thread Susan Cheng via swift-evolution
Hello swift community, I want to introduce a proposal to allow constraints on associatedtype. I found a bug report(https://bugs.swift.org/browse/SR-1466) and it's due to without constraints on associatedtype itself. This force us always have to write the redundant constraints like