map-reduce-folds 0.1.0.1 → 0.1.0.3
raw patch · 3 files changed
+15/−7 lines, 3 filesdep ~discriminationdep ~profunctorsdep ~streamlyPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: discrimination, profunctors, streamly
API changes (from Hackage documentation)
- Control.MapReduce.Engines.Streamly: class IsStream (t :: Type -> Type -> Type -> Type)
+ Control.MapReduce.Engines.Streamly: class (forall (m :: Type -> Type) a. MonadAsync m => Semigroup t m a, forall (m :: Type -> Type) a. MonadAsync m => Monoid t m a, forall (m :: Type -> Type). Monad m => Functor t m, forall (m :: Type -> Type). MonadAsync m => Applicative t m) => IsStream (t :: Type -> Type -> Type -> Type)
Files
- ChangeLog.md +6/−0
- map-reduce-folds.cabal +8/−6
- test/Test1.hs +1/−1
ChangeLog.md view
@@ -1,3 +1,9 @@+* version 0.1.0.4+* Bunped some upper bounds in cabal file++* version 0.1.0.2+* Examples are now "test-suite" instead of "executable". They need not be built and example-only dependencies shouldn't be dependencies for library users.+ * version 0.1.0.1 * Lowered containers lower bound to 0.5.0.0
map-reduce-folds.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.2 name: map-reduce-folds-version: 0.1.0.1+version: 0.1.0.3 build-type: Simple synopsis: foldl wrappers for map-reduce description: map-reduce-folds simplifies the building of folds to do map-reduce style computations on collections. It breaks the map/reduce into an unpacking step where items may be filtered, transformed or "melted" (made into several new items), an assign step where the unpacked items are assigned keys, a grouping step where the assigned items are grouped by key and then a reduce step which is applied to each grouped subset. Tools are provided to simplify building the individual steps and then "engines" are provided for combining them into efficient folds returning an assortment of containers. The various pieces are replicated for effectful (monadic) steps producing effectful (monadic) folds.@@ -28,7 +28,7 @@ build-depends: base >= 4.12.0 && < 4.13, containers >= 0.5.0 && < 0.7, foldl >= 1.4.5 && < 1.5,- profunctors >= 5.3 && < 5.5,+ profunctors >= 5.3 && < 5.6, text >= 1.2.3 && < 1.3, unordered-containers >= 0.2.10 && < 0.3 @@ -49,14 +49,14 @@ , Control.MapReduce.Engines.ParallelList build-depends:- discrimination >= 0.3 && < 0.4,+ discrimination >= 0.3 && < 0.5, hashable >= 1.2.7 && < 1.4, hashtables >= 1.2.0.0 && < 1.3.0.0, vector >= 0.12.0 && < 0.13, parallel >= 3.2.2 && < 3.3, split >= 0.2.3 && < 0.3, streaming >= 0.2.2 && < 0.3,- streamly >= 0.6.1 && < 0.7+ streamly >= 0.6.1 && < 0.8 hs-source-dirs: src default-language: Haskell2010@@ -95,16 +95,18 @@ default-language: Haskell2010 -executable listStats+test-suite listStats import: deps+ type: exitcode-stdio-1.0 main-is: ListStats.hs hs-source-dirs: examples ghc-options: -Wall build-depends: map-reduce-folds -any default-language: Haskell2010 -executable readmeExample+test-suite readmeExample import: deps+ type: exitcode-stdio-1.0 main-is: readmeExample.hs hs-source-dirs: examples ghc-options: -Wall
test/Test1.hs view
@@ -62,5 +62,5 @@ [ ("[] Engine" , prop_mrSame mrFoldList) , ("Vector Engine" , prop_mrSame mrFoldVector) , ("Streamly Engine" , prop_mrSame mrFoldStreamly)- , ("Stremaing Engine", prop_mrSame mrFoldStreaming)+ , ("Streaming Engine", prop_mrSame mrFoldStreaming) ]