Is it possible to define delimited continuations? ...
# coroutines
b
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
Yes.
reset
is a coroutine builder while
shift
is a suspending function in its scope. What would be the use-case though?
👍 1
b
Automatic differentiation https://arxiv.org/pdf/1803.10228.pdf