packages feed

direct-murmur-hash 1.0 → 1.0.1

raw patch · 2 files changed

+9/−2 lines, 2 filesnew-uploaderPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Data.Digest.Murmur3: instance Applicative Identity
+ Data.Digest.Murmur3: instance Functor Identity

Files

Data/Digest/Murmur3.hs view
@@ -5,6 +5,7 @@   where  import Control.Monad+import Control.Applicative import Data.Bits import Data.ByteString (ByteString) import qualified Data.ByteString as BS@@ -16,6 +17,11 @@   newtype Identity a = MakeIdentity { identityAction :: a }+instance Functor Identity where +  fmap f = MakeIdentity . f . identityAction+instance Applicative Identity where+  pure = return+  (<*>) = ap instance Monad Identity where   return a = MakeIdentity a   (>>=) x f = f $ identityAction x
direct-murmur-hash.cabal view
@@ -1,5 +1,5 @@ name: direct-murmur-hash-version: 1.0+version: 1.0.1 cabal-version: >= 1.12 build-type: Simple license: BSD3@@ -11,7 +11,8 @@ bug-reports: https://github.com/IreneKnapp/direct-murmur-hash/issues category: Data synopsis: An implementation of the MurmurHash3 algorithm-description:+description: The Murmur3 hash algorithm is a published, high-performance,+  non-cryptographic hash.  This implementation of it should be decently fast.  Source-Repository head   type: git