https://kotlinlang.org logo
p

poohbar

01/06/2019, 12:05 AM
I don't like this either:
Copy code
return sequence {
    // some code
    yield(thing)
}.map { it.something }
    .toList()