kazu-yamamoto/logger

NoLoggingT does not implement generalBracket for exceptions >= 0.9

Closed this issue · 2 comments

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

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.

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