packages feed

hw-bits 0.5.0.1 → 0.5.0.2

raw patch · 3 files changed

+5/−5 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

hw-bits.cabal view
@@ -1,5 +1,5 @@ name:                   hw-bits-version:                0.5.0.1+version:                0.5.0.2 synopsis:               Bit manipulation description:            Please see README.md homepage:               http://github.com/haskell-works/hw-bits#readme
src/HaskellWorks/Data/Bits/PopCount/PopCount0.hs view
@@ -83,9 +83,9 @@   {-# INLINE popCount0 #-}  instance PopCount0 a => PopCount0 (DV.Vector a) where-  popCount0 = DV.foldl (\c -> (c +) . popCount0) 0+  popCount0 = DV.foldl' (\c -> (c +) . popCount0) 0   {-# INLINE popCount0 #-}  instance (DVS.Storable a, PopCount0 a) => PopCount0 (DVS.Vector a) where-  popCount0 = DVS.foldl (\c -> (c +) . popCount0) 0+  popCount0 = DVS.foldl' (\c -> (c +) . popCount0) 0   {-# INLINE popCount0 #-}
src/HaskellWorks/Data/Bits/PopCount/PopCount1.hs view
@@ -104,9 +104,9 @@   {-# INLINE popCount1 #-}  instance PopCount1 a => PopCount1 (DV.Vector a) where-  popCount1 = DV.foldl (\c -> (c +) . popCount1) 0+  popCount1 = DV.foldl' (\c -> (c +) . popCount1) 0   {-# INLINE popCount1 #-}  instance (PopCount1 a, DVS.Storable a) => PopCount1 (DVS.Vector a) where-  popCount1 = DVS.foldl (\c -> (c +) . popCount1) 0+  popCount1 = DVS.foldl' (\c -> (c +) . popCount1) 0   {-# INLINE popCount1 #-}