-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generalized lifting/unlifting effect #306
Conversation
We’ll move it to fused-effects-exceptions.
This is the corresponding effect to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really, really mindblowing. I love this, and I think it's a real leap forward for the expressivity of our library. (Consider how nice this would be atop STM
.)
I have thoughts (below), but I'm 100% in favor of this. Great stuff.
In |
@KingoftheHomeless thanks for the comparison! |
Could you give an example of how to implement Or just provide an example of the general use case for how the new |
This PR explores using the facilities introduced in #296 to unlift monads.(Edit: The dependency on #296’s features is no longer present.)Defines anImproves the definition ofUnlift
effect and carrier.Lift
to support unlifting.MonadUnliftIO
instances & dependency onunliftio-core
.Control.Effect.Exception
should probably live infused-effects-exceptions
instead.Lift
/LiftC
.