Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-pipes for openSUSE:Factory 
checked in at 2021-05-11 23:04:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-pipes (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-pipes.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-pipes"

Tue May 11 23:04:11 2021 rev:4 rq:892191 version:4.3.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-pipes/ghc-pipes.changes      2021-03-10 
08:58:09.834945255 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-pipes.new.2988/ghc-pipes.changes    
2021-05-11 23:04:17.604921273 +0200
@@ -1,0 +2,9 @@
+Fri May  7 09:28:58 UTC 2021 - psim...@suse.com
+
+- Update pipes to version 4.3.16.
+  4.3.16
+
+  * Fix example code for `every`
+  * Improved documentation for `ListT`
+
+-------------------------------------------------------------------

Old:
----
  pipes-4.3.15.tar.gz

New:
----
  pipes-4.3.16.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-pipes.spec ++++++
--- /var/tmp/diff_new_pack.eZaZHl/_old  2021-05-11 23:04:18.036919303 +0200
+++ /var/tmp/diff_new_pack.eZaZHl/_new  2021-05-11 23:04:18.040919284 +0200
@@ -19,7 +19,7 @@
 %global pkg_name pipes
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        4.3.15
+Version:        4.3.16
 Release:        0
 Summary:        Compositional pipelines
 License:        BSD-3-Clause

++++++ pipes-4.3.15.tar.gz -> pipes-4.3.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pipes-4.3.15/CHANGELOG.md 
new/pipes-4.3.16/CHANGELOG.md
--- old/pipes-4.3.15/CHANGELOG.md       2021-02-10 01:29:51.000000000 +0100
+++ new/pipes-4.3.16/CHANGELOG.md       2021-05-07 04:43:03.000000000 +0200
@@ -1,3 +1,8 @@
+4.3.16
+
+* Fix example code for `every`
+* Improved documentation for `ListT`
+
 4.3.15
 
 * Build against `ghc-9.0`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pipes-4.3.15/pipes.cabal new/pipes-4.3.16/pipes.cabal
--- old/pipes-4.3.15/pipes.cabal        2021-02-10 01:29:51.000000000 +0100
+++ new/pipes-4.3.16/pipes.cabal        2021-05-07 04:43:03.000000000 +0200
@@ -1,5 +1,5 @@
 Name: pipes
-Version: 4.3.15
+Version: 4.3.16
 Cabal-Version: >= 1.10
 Build-Type: Simple
 Tested-With: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 
8.6.5, GHC == 8.8.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pipes-4.3.15/src/Pipes.hs 
new/pipes-4.3.16/src/Pipes.hs
--- old/pipes-4.3.15/src/Pipes.hs       2021-02-10 01:29:51.000000000 +0100
+++ new/pipes-4.3.16/src/Pipes.hs       2021-05-07 04:43:03.000000000 +0200
@@ -401,10 +401,39 @@
 
 {-| The list monad transformer, which extends a monad with non-determinism
 
-    'return' corresponds to 'yield', yielding a single value
+    The type variables signify:
 
-    ('>>=') corresponds to 'for', calling the second computation once for each
-    time the first computation 'yield's.
+      * @m@ - The base monad
+      * @a@ - The values that the computation 'yield's throughout its execution
+
+    For basic construction and composition of 'ListT' computations, much can be
+    accomplished using common typeclass methods.
+
+      * 'return' corresponds to 'yield', yielding a single value.
+      * ('>>=') corresponds to 'for', calling the second computation once
+        for each time the first computation 'yield's.
+      * 'mempty' neither 'yield's any values nor produces any effects in the
+        base monad.
+      * ('<>') sequences two computations, 'yield'ing all the values of the
+        first followed by all the values of the second.
+      * 'lift' converts an action in the base monad into a ListT computation
+        which performs the action and 'yield's a single value.
+
+    'ListT' is a newtype wrapper for 'Producer'. You will likely need to use
+    'Select' and 'enumerate' to convert back and forth between these two types
+    to take advantage of all the 'Producer'-related utilities that
+    "Pipes.Prelude" has to offer.
+
+      * To lift a plain list into a 'ListT' computation, first apply 'each'
+        to turn the list into a 'Producer'. Then apply the 'Select'
+        constructor to convert from 'Producer' to 'ListT'.
+      * For other ways to construct 'ListT' computations, see the
+        ???Producers??? section in "Pipes.Prelude" to build 'Producer's.
+        These can then be converted to 'ListT' using 'Select'.
+      * To aggregate the values from a 'ListT' computation (for example,
+        to compute the sum of a 'ListT' of numbers), first apply
+        'enumerate' to obtain a 'Producer'. Then see the ???Folds???
+        section in "Pipes.Prelude" to proceed.
 -}
 newtype ListT m a = Select { enumerate :: Producer a m () }
 
@@ -656,7 +685,7 @@
 {-| Convert an 'Enumerable' to a 'Producer'
 
 @
-'each' :: ('Monad' m, 'Enumerable' t) => t m a -> 'Producer' a m ()
+'every' :: ('Monad' m, 'Enumerable' t) => t m a -> 'Producer' a m ()
 @
 -}
 every :: (Monad m, Enumerable t) => t m a -> Proxy x' x () a m ()

Reply via email to