DSH 0.7.8 → 0.7.8.1
raw patch · 2 files changed
+4/−4 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Database.DSH: class QA a => TA a
+ Database.DSH: class QA a => TA a where tablePersistence t = Q (TableE t (reify (undefined :: [a])))
Files
- DSH.cabal +1/−1
- src/Database/DSH/Combinators.hs +3/−3
DSH.cabal view
@@ -1,5 +1,5 @@ Name: DSH-Version: 0.7.8+Version: 0.7.8.1 Synopsis: Database Supported Haskell Description: This is a Haskell library for database-supported program execution. Using
src/Database/DSH/Combinators.hs view
@@ -94,7 +94,7 @@ -- * Maybe listToMaybe :: QA a => Q [a] -> Q (Maybe a)-listToMaybe (Q as) = (Q as) +listToMaybe (Q as) = (Q as) maybeToList :: QA a => Q (Maybe a) -> Q [a] maybeToList (Q ma) = (Q ma)@@ -304,7 +304,7 @@ -- * "Set" operations nub :: forall a. (Eq a,QA a) => Q [a] -> Q [a]-nub (Q as) = Q (AppE1 Nub as $ reify (undefined :: [a])) +nub (Q as) = Q (AppE1 Nub as $ reify (undefined :: [a])) -- * Tuple Projection Functions@@ -352,7 +352,7 @@ -- 'QA', 'TA' and 'View' instances for tuples up to the defined length. -$(generateDeriveTupleQARange 3 16)+$(generateDeriveTupleQARange 3 32) $(generateDeriveTupleTARange 3 16) $(generateDeriveTupleViewRange 3 16)