In case anyone is interested about Monad comprehensions (equivalent to Scala's for comprehensions) in Kotlin:
Stack-safe monad comprehensions for stack-unsafe monads in KΛTEGORY built over Kotlin coroutines and Free monads
https://github.com/kategory/kategory/pull/162