`generate` is what is called `sync*` in the above ...
# coroutines
e
generate
is what is called
sync*
in the above code. In Kotlin you’d write
Copy code
fun greetingSevenDwarfsSync(): Sequence<String> = generate { … }