Skip to content

Instantly share code, notes, and snippets.

@DougGregor
Created March 8, 2017 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DougGregor/0b0b857edc3d5407c6515efc51ce0016 to your computer and use it in GitHub Desktop.
Save DougGregor/0b0b857edc3d5407c6515efc51ce0016 to your computer and use it in GitHub Desktop.
Trivial yet fun example for requirement signatures and conformance access paths
protocol P { }
protocol Q {
associatedtype A: P
}
protocol R: Q {
associatedtype A: P
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment