https://kotlinlang.org logo
#coroutines
Title
# coroutines
b

breandan

12/27/2018, 5:11 AM
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?
👍 1
b

breandan

01/07/2019, 2:13 AM
Automatic differentiation https://arxiv.org/pdf/1803.10228.pdf
11 Views