[swift-evolution] [swift evolution] [proposal] Proposal to add "implement" keyword to denote protocol method implementation

Daniel Duan daniel at duan.org
Sat Mar 19 11:07:09 CDT 2016


(cc swift-evolution)


> On Mar 19, 2016, at 8:41 AM, Step C <schristopher at bignerdranch.com> wrote:
> 
> The compiler can tell us when we have broken or not completed conformance, agreed. 
> 
> If we can empower extensions a bit more, we could also fully group each protocol conformance by extension.

How would you “group” conformances for the following 3 protocols?

protocol A {
  func foo()
  func bar()
}
protocol B {
  func bar()
  func baz()
}
protocol C: Equatable {
  func bar()
}




More information about the swift-evolution mailing list