Skip to content
Browse files

HasHdbc now requires MonadCatchIO-transformers

  • Loading branch information...
1 parent d6148d4 commit 195cb79b8124df5b6ebc8128d443ed1df29a3dfe @norm2782 committed Oct 10, 2011
Showing with 5 additions and 5 deletions.
  1. +4 −4 snaplet-hdbc.cabal
  2. +1 −1 src/Snap/Snaplet/Hdbc.hs
View
8 snaplet-hdbc.cabal
@@ -1,5 +1,5 @@
name: snaplet-hdbc
-version: 0.1.0
+version: 0.1.1
synopsis: HDBC snaplet
description: HDBC snaplet
license: BSD3
@@ -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
View
2 src/Snap/Snaplet/Hdbc.hs
@@ -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 {

0 comments on commit 195cb79

Please sign in to comment.
Something went wrong with that request. Please try again.