packages feed

simplest-sqlite 0.1.1.0 → 0.1.1.1

raw patch · 2 files changed

+6/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

simplest-sqlite.cabal view
@@ -2,7 +2,7 @@ cabal-version: >= 1.10  name: simplest-sqlite-version: 0.1.1.0+version: 0.1.1.1 stability: Experimental author: YoshikuniJujo <PAF01143@nifty.ne.jp> maintainer: YoshikuniJujo <PAF01143@nifty.ne.jp>
src/Database/SmplstSQLite3.hs view
@@ -127,8 +127,11 @@ class Bindable a where bindN' :: Stmt -> Int -> a -> IO () class Columnable a where column' :: Stmt -> Int -> IO a -instance SQLiteData a => Bindable a where bindN' = bindN-instance SQLiteData a => Columnable a where column' = column+instance {-# OVERLAPPABLE #-} SQLiteData a => Bindable a where+	bindN' = bindN++instance {-# OVERLAPPABLE #-} SQLiteData a => Columnable a where+	column' = column  instance SQLiteData a => SQLiteData (Maybe a) where 	bindN stmt i Nothing = sqlite3BindNull stmt i ()