Created
May 19, 2019 16:06
-
-
Save pofat/fad3879c797467de2d3efa00ca22f0eb to your computer and use it in GitHub Desktop.
Definition of Sequence protocl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protocol Sequence { | |
associatedtype Element | |
associatedtype Iterator : IteratorProtocol where Iterator.Element == Element | |
func makeIterator() -> Iterator | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment