Skip to content

Commit 544361b

Browse files
committed
update for hset-1.0.0
1 parent df6c969 commit 544361b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

postgresql-query.cabal

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

src/Database/PostgreSQL/Query/Types.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ instance (HasPostgres m, Monoid w) => HasPostgres (WS.WriterT w m) where
262262
WS.runWriterT (action con)
263263
{-# INLINABLE withPGConnection #-}
264264

265-
instance (MonadBase IO m, MonadBaseControl IO m, Contains els (Pool Connection))
265+
instance (MonadBase IO m, MonadBaseControl IO m, HGetable els (Pool Connection))
266266
=> HasPostgres (HReaderT els m) where
267267
withPGConnection action = do
268268
pool <- haskM

0 commit comments

Comments
 (0)