diff --git a/hasql.cabal b/hasql.cabal index 902c4f9..2d6eaf8 100644 --- a/hasql.cabal +++ b/hasql.cabal @@ -1,7 +1,7 @@ name: hasql version: - 0.19 + 0.19.1 category: Hasql, Database, PostgreSQL synopsis: diff --git a/library/Hasql/Private/Session.hs b/library/Hasql/Private/Session.hs index 09d0ac8..a87a17f 100644 --- a/library/Hasql/Private/Session.hs +++ b/library/Hasql/Private/Session.hs @@ -14,7 +14,7 @@ import qualified Hasql.Private.Connection as Connection -- A batch of actions to be executed in the context of a database connection. newtype Session a = Session (ReaderT Connection.Connection (EitherT Error IO) a) - deriving (Functor, Applicative, Monad, MonadError Error) + deriving (Functor, Applicative, Monad, MonadError Error, MonadIO) -- | -- Executes a bunch of commands on the provided connection.