Skip to content

Commit f9651f8

Browse files
committed
Fix: move to hset-2.0.0 and new hreader
1 parent 08543fe commit f9651f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

postgresql-query.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ library
6767
, exceptions
6868
, file-embed
6969
, haskell-src-meta
70-
, hreader >= 0.1.0 && < 1.0.0
71-
, hset >= 1.0.0 && < 2.0.0
70+
, hreader >= 1.0.0 && < 2.0.0
71+
, hset >= 2.0.0 && < 3.0.0
7272
, monad-control == 0.3.3.1 || > 1.0.0.3
7373
, monad-logger
7474
, mtl

src/Database/PostgreSQL/Query/Types.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,10 @@ instance (HasPostgres m, Monoid w) => HasPostgres (WS.WriterT w m) where
268268
WS.runWriterT (action con)
269269
{-# INLINABLE withPGConnection #-}
270270

271-
instance (MonadBase IO m, MonadBaseControl IO m, HGetable els (Pool Connection))
271+
instance (MonadBase IO m, MonadBaseControl IO m, HGettable els (Pool Connection))
272272
=> HasPostgres (HReaderT els m) where
273273
withPGConnection action = do
274-
pool <- haskM
274+
pool <- hask
275275
withResource pool action
276276

277277
-- | Empty typeclass signing monad in which transaction is

0 commit comments

Comments
 (0)