postgresql-simple-sop 0.1.0.0 → 0.1.0.1
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Database.PostgreSQL.Simple.SOP: class HasFieldNames a where fieldNames p = case datatypeInfo p of { ADT _ _ cs -> fNms cs Newtype _ _ c -> fNms $ c :* Nil }
Files
postgresql-simple-sop.cabal view
@@ -1,5 +1,5 @@ name: postgresql-simple-sop-version: 0.1.0.0+version: 0.1.0.1 synopsis: Generic functions for postgresql-simple homepage: https://github.com/openbrainsrc/postgresql-simple-sop license: MIT
src/Database/PostgreSQL/Simple/SOP.hs view
@@ -24,7 +24,7 @@ -} -module Database.PostgreSQL.Simple.SOP (gfromRow, gtoRow, gselectFrom, ginsertInto) where+module Database.PostgreSQL.Simple.SOP (gfromRow, gtoRow, gselectFrom, ginsertInto, HasFieldNames) where import Generics.SOP import Control.Applicative