packages feed

apiary-persistent 0.11.0 → 0.12.0

raw patch · 2 files changed

+3/−3 lines, 2 filesdep ~apiaryPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: apiary

API changes (from Hackage documentation)

Files

apiary-persistent.cabal view
@@ -1,5 +1,5 @@ name:                apiary-persistent-version:             0.11.0+version:             0.12.0 synopsis:            persistent support for apiary web framework. description:   example: <https://github.com/philopon/apiary/blob/master/examples/persistent.hs>@@ -21,7 +21,7 @@   other-modules:          build-depends:       base               >=4.6   && <4.8                      , persistent         >=1.3   && <1.4-                     , apiary             >=0.9   && <0.12+                     , apiary             >=0.12  && <0.13                      , monad-logger       >=0.3   && <0.4                      , resourcet          >=1.1   && <1.2                      , mtl                >=2.1   && <2.3
src/Web/Apiary/Database/Persist.hs view
@@ -63,6 +63,6 @@     => SqlPersistT (ResourceT (ActionT n)) a     -> ApiaryT (Snoc as (UnBool a)) n m b     -> ApiaryT as n m b-sql p = focus $ \l -> do+sql p = focus id $ \l -> do     r <- runSql p     maybe empty (\i -> return $ sSnoc l i) $ unBool r