Closed schell closed 7 years ago
This is related to issue #10.
Thanks for making coroutines usable. We kind of reached an impasse with it.
I've renamed runC'
to interposeC
. There's an issue with naming things by adding prime without having a fixed meaning for it. Hopefully this wont break any code you may possibly have.
Thank you! I'm in favor of interposeC
:) 👍
This provides
Coroutine
with a return value, which makes it more composable (and actually useful). It also providesrunC'
which does not strip the effect from the typelist, allowing more complicated branching schemes (like step-wise dueling coroutines).