Coroutines and effects
For the past few months I’ve been mulling over some things that Russell Johnston made me realize
about the relationship between effect systems and coroutines. You can read more of his thoughts on
this subject here, but he made me realize that effect systems (like that found in Koka)
and coroutines (like Rust’s async functions or generators) are in some ways isomorphic to one
another. I’ve been pondering the differences between them, trying to figuring out the advantages and
disadvantages of each...
Read more at without.boats