diff --git a/squeal-postgresql-ltree/squeal-postgresql-ltree.cabal b/squeal-postgresql-ltree/squeal-postgresql-ltree.cabal index 4ef74ebe..bc547c6e 100644 --- a/squeal-postgresql-ltree/squeal-postgresql-ltree.cabal +++ b/squeal-postgresql-ltree/squeal-postgresql-ltree.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: squeal-postgresql-ltree -version: 0.1.0.1 +version: 0.1.0.2 synopsis: LTree extension for Squeal description: LTree extension for Squeal homepage: https://github.com/morphismtech/squeal/ltree diff --git a/squeal-postgresql-ltree/src/Squeal/PostgreSQL/LTree.hs b/squeal-postgresql-ltree/src/Squeal/PostgreSQL/LTree.hs index cb19376d..d50a565c 100644 --- a/squeal-postgresql-ltree/src/Squeal/PostgreSQL/LTree.hs +++ b/squeal-postgresql-ltree/src/Squeal/PostgreSQL/LTree.hs @@ -45,7 +45,8 @@ module Squeal.PostgreSQL.LTree ) where import Control.Exception hiding (TypeError) -import Control.Monad.Reader +import Control.Monad (when) +import Control.Monad.Reader (ReaderT(ReaderT)) import Data.String import Data.Text import GHC.Generics diff --git a/squeal-postgresql/squeal-postgresql.cabal b/squeal-postgresql/squeal-postgresql.cabal index 813e1d98..ca67a83c 100644 --- a/squeal-postgresql/squeal-postgresql.cabal +++ b/squeal-postgresql/squeal-postgresql.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: squeal-postgresql -version: 0.9.1.1 +version: 0.9.1.2 synopsis: Squeal PostgreSQL Library description: Squeal is a type-safe embedding of PostgreSQL in Haskell homepage: https://github.com/morphismtech/squeal diff --git a/squeal-postgresql/src/Squeal/PostgreSQL/Session/Oid.hs b/squeal-postgresql/src/Squeal/PostgreSQL/Session/Oid.hs index acb73dbe..5380e731 100644 --- a/squeal-postgresql/src/Squeal/PostgreSQL/Session/Oid.hs +++ b/squeal-postgresql/src/Squeal/PostgreSQL/Session/Oid.hs @@ -34,8 +34,9 @@ module Squeal.PostgreSQL.Session.Oid , OidOfField (..) ) where -import Control.Monad.Catch -import Control.Monad.Reader +import Control.Monad (when) +import Control.Monad.Catch (throwM) +import Control.Monad.Reader (ReaderT(ReaderT)) import Data.String import GHC.TypeLits import PostgreSQL.Binary.Decoding (valueParser, int)