packages feed

data-hash 0.2.0.0 → 0.2.0.1

raw patch · 2 files changed

+3/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

data-hash.cabal view
@@ -1,5 +1,5 @@ name:               data-hash-version:            0.2.0.0+version:            0.2.0.1 description:                     Combinators for building fast hashing functions. Includes                     hashing functions for all basic Haskell98 types.@@ -19,7 +19,7 @@  source-repository   head   type:             darcs-  location:         http://darcsden.com/jcpetruzza/data-hash+  location:         http://hub.darcs.net/jcpetruzza/data-hash  Library   build-depends:    base >= 3 && <= 5, array, containers
tests/Main.hs view
@@ -13,7 +13,7 @@  instance (Arbitrary a, Hashable a) => Arbitrary (RollingHash a) where   arbitrary = do Positive n <- arbitrary-                 foldl' addAndRoll (rollingHash n) <$> arbitrary+                 foldl' addAndRoll (rollingHash n) <$> (arbitrary :: Arbitrary a => Gen [a])  foldH :: [Int] -> Hash foldH (i:xs) = foldl combine (hash i) $ map hash xs