-
Notifications
You must be signed in to change notification settings - Fork 49
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
Move askUnliftIO
out of class
#55
Comments
Good call, it's about time. I'm testing a few other packages, and then I'll release. |
Thanks a lot! |
askUnliftIO was moved due to fpco/unliftio#55 in version 0.2.0.0
The package pulls in many dependencies (some of which weren't already on Stackage) and was only used for minor functionality. Also temporarily add upper bound on unliftio-core due to fpco/unliftio#55.
Now that |
I'm OK with deprecating, but I think the more direct fix here is fixing the documentation, which is simply out of date. |
When defining monad transformers as newtypes over
IdentityT
orReaderT r
, I'd like to simply derive an instance forUnliftIO
with thenewtype
strategy,However, this currently fails with the error
This could be avoided by moving the
askUnliftIO
method out of the class definition. This is pretty much the breaking part of #13.The text was updated successfully, but these errors were encountered: