-
Notifications
You must be signed in to change notification settings - Fork 292
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
runSqlConn with ExceptT and friends #516
Comments
There's no valid instance of |
I see that the instance is in monad-control itself, which is surprising (I don't remember the short-circuiting transformers having such instances in the past). I'll look into this a bit more tomorrow. |
Can you test the code on master? |
Seems to work well, good work! |
Cool, thanks for confirming. New version on Hackage. |
runSqlConn
, whenm
is instantiated to a monad that doesn't necessarily execute all further actions (likeExceptT
), may neither commit nor rollback (when its first argument is e.g.throwE someError
). This seems like undesirable behaviour.Original discussion here.
The text was updated successfully, but these errors were encountered: