The author discusses the relationship between effect systems and coroutines, highlighting the isomorphic nature of these concepts. They explore how coroutines yield control back to the caller, while effect handlers yield control to their handler, leading to discussions on the advantages and disadvantages of each. The post delves into the differences in user experience and affordance between coroutines and effect handlers, emphasizing the static typing but dynamic scoping property of effect handlers. The comparison between handling effects using coroutines versus effect systems is dissected, with coroutines being deemed more promising due to their design features.
https://without.boats/blog/coroutines-and-effects/