Skip to content
This repository has been archived by the owner on Dec 17, 2020. It is now read-only.

Better coroutine #25

Merged
merged 2 commits into from
Mar 17, 2017
Merged

Better coroutine #25

merged 2 commits into from
Mar 17, 2017

Conversation

schell
Copy link
Contributor

@schell schell commented Mar 14, 2017

This provides Coroutine with a return value, which makes it more composable (and actually useful). It also provides runC' which does not strip the effect from the typelist, allowing more complicated branching schemes (like step-wise dueling coroutines).

@trskop
Copy link
Member

trskop commented Mar 17, 2017

This is related to issue #10.

@trskop trskop self-requested a review March 17, 2017 09:36
@trskop
Copy link
Member

trskop commented Mar 17, 2017

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.

@trskop trskop added this to the v0.4 milestone Mar 17, 2017
@trskop trskop merged commit 2355053 into IxpertaSolutions:master Mar 17, 2017
@schell
Copy link
Contributor Author

schell commented Mar 17, 2017

Thank you! I'm in favor of interposeC :) 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants