hash 0.1.1 → 0.1.2
raw patch · 2 files changed
+2/−2 lines, 2 files
Files
- hash.cabal +1/−1
- src/Data/Hash/CRC32.hs +1/−1
hash.cabal view
@@ -1,6 +1,6 @@ name: hash category: Data, Hash-version: 0.1.1+version: 0.1.2 license: BSD3 cabal-version: >= 1.8 license-file: LICENSE
src/Data/Hash/CRC32.hs view
@@ -38,7 +38,7 @@ def = CRC32 0xffffffff; {-# INLINE def #-} -instance (Bifunctor p, Profunctor p, Functor f) => Snoc p f CRC32 CRC32 Word8 Word8 where+instance (Reviewable p, Functor f) => Snoc p f CRC32 CRC32 Word8 Word8 where _Snoc = unto $ \(CRC32 h, w) -> CRC32 (shiftL h 8 `xor` lut w) {-# INLINE _Snoc #-}