-
Notifications
You must be signed in to change notification settings - Fork 34
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
Can MonadFix help eliminate need for newX/defineX split? #41
Comments
Yes, I believe so. I'm not much of a fan of the split either... any chance you could put together a patch? |
I added derived |
Can someone explain, what the problem is? MonadFix on IO sounds strange to me. |
Sorry to be out of touch on this! I'd like to try my hand at this but may In the meantime a concrete example of the same kind of thing is in a I added derived MonadFix instances in — |
I'm just starting to explore the module, so not sure it makes sense in this case, but I know it was the answer for me when I encountered a similar API design problem. GHCs
DoRec
extension lets you do things like this for monads with aMonadFix
instance, likeIO
:The text was updated successfully, but these errors were encountered: