packages feed

compressed 3.0 → 3.0.0.1

raw patch · 3 files changed

+3/−5 lines, 3 filesdep ~hashablePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: hashable

API changes (from Hackage documentation)

- Data.Compressed.Internal.LZ78: Cons :: {-# UNPACK #-} !Token a -> (LZ78 a) -> LZ78 a
+ Data.Compressed.Internal.LZ78: Cons :: {-# UNPACK #-} !(Token a) -> (LZ78 a) -> LZ78 a

Files

Data/Compressed/Internal/LZ78.hs view
@@ -78,7 +78,7 @@   extract (Token _ a) = a  instance Hashable a => Hashable (Token a) where-  hash (Token i a) = hashWithSalt i a+  hashWithSalt s (Token i a) = s `hashWithSalt` i `hashWithSalt` a  -- | An LZ78 compressed 'Generator'. data LZ78 a@@ -186,7 +186,6 @@   compare (Entry i _) (Entry j _) = compare i j  instance Hashable i => Hashable (Entry i a) where-  hash (Entry i _) = hash i   hashWithSalt n (Entry i _) = hashWithSalt n i  -- | exposes internal structure
Data/Compressed/RunLengthEncoding.hs view
@@ -197,7 +197,6 @@   mapReduce f = foldMap (unit . f)  instance Hashable a => Hashable (RLE a) where-  hash = hash . toList   hashWithSalt n = hashWithSalt n . toList  instance Eq a => Eq (RLE a) where
compressed.cabal view
@@ -1,6 +1,6 @@ name:          compressed category:      Data, Compression, MapReduce-version:       3.0+version:       3.0.0.1 license:       BSD3 cabal-version: >= 1.6 license-file:  LICENSE@@ -25,7 +25,7 @@     base                   >= 4        && < 5,     containers             >= 0.3      && < 0.6,     fingertree             >= 0.0.1    && < 0.1,-    hashable               >= 1.1.2.1  && < 1.2,+    hashable               >= 1.1.2.1  && < 1.3,     unordered-containers   >= 0.2.1    && < 0.3,     semigroups             >= 0.8.3.1  && < 0.9,     semigroupoids          >= 3.0      && < 3.1,