Re:Iterators are (maybe) coming to Go
by anonymoushn on Sunday August 13, 2023 @12:44PM
(#37111578)
You can read the proposal here: https://github.com/golang/go/issues/61405. It is linked in the first paragraph of TFA.
Yes, I know you can build a 100x-too-slow version of this on top of channels, but that's not the proposed extension to the language.
Possibly you're interpreting yield as a new keyword? It's just an argument to Pull.
The only not-(currently-)available-in-Go stuff that I can recall from the post is the performance optimization at the very end.