DEV Community

Discussion on: IO: to be a Monad or not to be, that's the question!

Collapse
 
iquardt profile image
Iven Marquardt • Edited

Think I answered my own q: The Kotlin compiler performs a CPS transformation under the hood, similar to Haskell's do block transformation to nested >>=.

Thread Thread
 
raulraja profile image
Raúl Raja Martínez

yes and while multishot is not supported since they are single-shot delimited, you can still multi prompt and build multi-shot like continuations with it.