valderman / selda

A type-safe, high-level SQL library for Haskell
https://selda.link
MIT License
478 stars 58 forks source link

Improve monad transformers support #198

Open madidier opened 2 months ago

madidier commented 2 months ago

This PR fixes the following limitations:

Fixing that last point requires using generalBracket introduced in exceptions-0.9, so I had to bump the dependency requirement. I am not sure how this impacts the range of GHC versions that can be supported.

Supporting ExceptT/MonadError is rather important for applications based on servant.