Hello community,

here is the log from the commit of package ghc-conduit-combinators for 
openSUSE:Factory checked in at 2016-11-10 13:19:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-conduit-combinators (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-conduit-combinators.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-conduit-combinators"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-conduit-combinators/ghc-conduit-combinators.changes
  2016-10-24 14:44:32.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-conduit-combinators.new/ghc-conduit-combinators.changes
     2016-11-10 13:19:57.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Oct 11 08:49:25 UTC 2016 - [email protected]
+
+- Update to version 1.0.8.1 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  conduit-combinators-1.0.8.tar.gz

New:
----
  conduit-combinators-1.0.8.1.tar.gz

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

Other differences:
------------------
++++++ ghc-conduit-combinators.spec ++++++
--- /var/tmp/diff_new_pack.r2XLfI/_old  2016-11-10 13:19:58.000000000 +0100
+++ /var/tmp/diff_new_pack.r2XLfI/_new  2016-11-10 13:19:58.000000000 +0100
@@ -19,7 +19,7 @@
 %global pkg_name conduit-combinators
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.0.8
+Version:        1.0.8.1
 Release:        0
 Summary:        Commonly used conduit functions, for both chunked and 
unchunked data
 License:        MIT

++++++ conduit-combinators-1.0.8.tar.gz -> conduit-combinators-1.0.8.1.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-combinators-1.0.8/ChangeLog.md 
new/conduit-combinators-1.0.8.1/ChangeLog.md
--- old/conduit-combinators-1.0.8/ChangeLog.md  2016-09-27 13:52:55.000000000 
+0200
+++ new/conduit-combinators-1.0.8.1/ChangeLog.md        2016-10-01 
19:18:06.000000000 +0200
@@ -1,3 +1,8 @@
+# 1.0.8.1
+
+* Break on single elements and defer monoid concatenation until yield
+  [#111](https://github.com/snoyberg/mono-traversable/pull/111)
+
 # 1.0.8
 
 * Add lower bound on conduit 1.2.8 (make it easier to follow [the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/conduit-combinators-1.0.8/Data/Conduit/Combinators.hs 
new/conduit-combinators-1.0.8.1/Data/Conduit/Combinators.hs
--- old/conduit-combinators-1.0.8/Data/Conduit/Combinators.hs   2016-09-27 
13:52:55.000000000 +0200
+++ new/conduit-combinators-1.0.8.1/Data/Conduit/Combinators.hs 2016-10-01 
19:18:06.000000000 +0200
@@ -2015,16 +2015,17 @@
 splitOnUnboundedEC f =
     start
   where
-    start = await >>= maybe (return ()) loop
+    start = await >>= maybe (return ()) (loop id)
 
-    loop t =
+    loop bldr t =
         if onull y
             then do
                 mt <- await
                 case mt of
-                    Nothing -> unless (onull t) $ yield t
-                    Just t' -> loop (t `mappend` t')
-            else yield x >> loop (Seq.drop 1 y)
+                    Nothing -> let finalChunk = mconcat $ bldr [t]
+                               in  unless (onull finalChunk) $ yield finalChunk
+                    Just t' -> loop (bldr . (t:)) t'
+            else yield (mconcat $ bldr [x]) >> loop id (Seq.drop 1 y)
       where
         (x, y) = Seq.break f t
 STREAMING(splitOnUnboundedE, splitOnUnboundedEC, splitOnUnboundedES, f)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/conduit-combinators-1.0.8/conduit-combinators.cabal 
new/conduit-combinators-1.0.8.1/conduit-combinators.cabal
--- old/conduit-combinators-1.0.8/conduit-combinators.cabal     2016-09-27 
13:52:55.000000000 +0200
+++ new/conduit-combinators-1.0.8.1/conduit-combinators.cabal   2016-10-01 
19:18:06.000000000 +0200
@@ -1,5 +1,5 @@
 name:                conduit-combinators
-version:             1.0.8
+version:             1.0.8.1
 synopsis:            Commonly used conduit functions, for both chunked and 
unchunked data
 description:         Provides a replacement for Data.Conduit.List, as well as 
a convenient Conduit module.
 homepage:            https://github.com/snoyberg/mono-traversable


Reply via email to