Skip to content

Commit

Permalink
HasHdbc now requires MonadCatchIO-transformers
Browse files Browse the repository at this point in the history
  • Loading branch information
norm2782 committed Oct 10, 2011
1 parent d6148d4 commit 195cb79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions snaplet-hdbc.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: snaplet-hdbc
version: 0.1.0
version: 0.1.1
synopsis: HDBC snaplet
description: HDBC snaplet
license: BSD3
Expand All @@ -26,11 +26,11 @@ Library
clientsession >= 0.4,
containers >= 0.3,
convertible >= 1.0,
data-lens >= 2.0 && < 2.1,
data-lens-template >= 2.1 && < 2.2,
data-lens >= 2.0 && < 2.1,
data-lens-template >= 2.1 && < 2.2,
HDBC >= 2.2,
mtl > 2.0 && < 2.1,
MonadCatchIO-mtl >= 0.3 && < 0.4,
MonadCatchIO-transformers >= 0.2.1 && < 0.3,
snap >= 0.6 && < 0.7,
text >= 0.11,
unordered-containers >= 0.1.4
Expand Down
2 changes: 1 addition & 1 deletion src/Snap/Snaplet/Hdbc.hs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ import Snap.Snaplet

type Row = Map String SqlValue

class (IConnection c, MonadIO m) => HasHdbc m c | m -> c where
class (IConnection c, MonadCatchIO m) => HasHdbc m c | m -> c where
getHdbc :: m c

data HdbcSnaplet c = IConnection c => HdbcSnaplet {
Expand Down

0 comments on commit 195cb79

Please sign in to comment.