cuckoo-filter 0.1.0.1 → 0.1.0.2
raw patch · 2 files changed
+5/−4 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Data.CuckooFilter: delete :: (Hashable a) => Filter a -> a -> Filter a
+ Data.CuckooFilter: delete :: Hashable a => Filter a -> a -> Filter a
- Data.CuckooFilter: insert :: (Hashable a) => Filter a -> a -> Maybe (Filter a)
+ Data.CuckooFilter: insert :: Hashable a => Filter a -> a -> Maybe (Filter a)
- Data.CuckooFilter: member :: (Hashable a) => a -> Filter a -> Bool
+ Data.CuckooFilter: member :: Hashable a => a -> Filter a -> Bool
Files
- cuckoo-filter.cabal +2/−2
- test/Spec.hs +3/−2
cuckoo-filter.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 0ebb44bfcf7104adcb38947b3420f70be3728a604ef7b442ab103b8815b32630+-- hash: 4040eaba0a3590ddfb6c21fc0839acb35c8190b3e8f5a837796de44ca9f6facb name: cuckoo-filter-version: 0.1.0.1+version: 0.1.0.2 synopsis: Pure and impure Cuckoo Filter description: Please see the README on Github at <https://github.com/ChrisCoffey/cuckoo-filter#readme> category: Data
test/Spec.hs view
@@ -128,8 +128,9 @@ deriving Show instance Arbitrary FullBucket where arbitrary = do- [a,b,c,d] <- replicateM 4 $ choose (1,255)- let a' = setCell emptyBucket 0 (FP a)+ res <- replicateM 4 $ choose (1,255)+ let [a,b,c,d] = res+ a' = setCell emptyBucket 0 (FP a) b' = setCell a' 1 (FP b) c' = setCell b' 2 (FP c) d' = setCell c' 3 (FP d)