https://medium.com/swift-programming/sequence-beyond-primitive-iterations-in-swift-80bc2507d8cc /// Return a `GeneratorType` instance whose `next` method invokes /// `body` and returns the result. /// /// Example: /// /// var x = 7 /// let g = anyGen…