Skip to content
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

NoLoggingT does not implement generalBracket for exceptions >= 0.9 #158

Closed
ajscholl opened this issue Mar 10, 2018 · 2 comments
Closed

NoLoggingT does not implement generalBracket for exceptions >= 0.9 #158

ajscholl opened this issue Mar 10, 2018 · 2 comments

Comments

@ajscholl
Copy link

It seems like exceptions 0.9 now requires the implementation of a third function, generalBracket [1], for the MonadMask typeclass. As there is no upper bound on exceptions, this currently causes a crash if the function is called.

[1] https://hackage.haskell.org/package/exceptions-0.9.0/docs/Control-Monad-Catch.html#v:generalBracket

@snoyberg
Copy link
Collaborator

I've added such support on master at c0707e7. Can you test this out and, if it fixes the issue for you, I'll cut a release. Thanks for the report.

@snoyberg
Copy link
Collaborator

I've made a release, which includes 0.10.0 support as well.

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

No branches or pull requests

2 participants