Is it possible to define delimited continuations? What is the closest analogy to Scala's `shift`/`reset` construction using Kotlin coroutines? https://www.scala-lang.org/old/node/2096
e
elizarov
01/06/2019, 9:48 PM
Yes.
reset
is a coroutine builder while
shift
is a suspending function in its scope. What would be the use-case though?