packages feed

acid-state 0.5.1 → 0.5.2

raw patch · 4 files changed

+3/−4 lines, 4 filesdep ~safecopyPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: safecopy

API changes (from Hackage documentation)

Files

acid-state.cabal view
@@ -7,7 +7,7 @@ -- The package version. See the Haskell package versioning policy -- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for -- standards guiding when and how versions should be incremented.-Version:             0.5.1+Version:             0.5.2  -- A short (one-line) description of the package. Synopsis:            Add ACID guarantees to any serializable Haskell data structure.@@ -55,7 +55,7 @@                        Data.Acid.TemplateHaskell, Data.Acid.Common, FileIO      -- Packages needed in order to build this package.-  Build-depends:       base >= 4 && < 5, cereal >= 0.3.2.0, safecopy >= 0.5, bytestring, stm,+  Build-depends:       base >= 4 && < 5, cereal >= 0.3.2.0, safecopy == 0.5.* , bytestring, stm,                        filepath, directory, mtl, array, containers, template-haskell    if os(windows)
examples/KeyValue.hs view
@@ -2,7 +2,6 @@ module Main (main) where  import Data.Acid-import qualified Data.Acid.Memory.Pure as Pure  import Control.Monad.State import Control.Monad.Reader
examples/StressTest.hs view
@@ -3,7 +3,6 @@  import Data.Acid (makeAcidic) import Data.Acid.Local-import qualified Data.Acid.Memory.Pure as Pure  import Control.Monad.State import Control.Monad.Reader
src/Data/Acid/Log.hs view
@@ -170,6 +170,7 @@              firstEntryId = case relevant of                               []                     -> 0                               ( logFile : _logFiles) -> rangeStart logFile+          archive <- liftM Lazy.concat $ mapM (Lazy.readFile . snd) relevant          let entries = entriesToList $ readEntries archive          return $ map decode'