commit ghc-streaming-bytestring for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-streaming-bytestring for openSUSE:Factory checked in at 2022-08-01 21:31:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-streaming-bytestring (Old) and /work/SRC/openSUSE:Factory/.ghc-streaming-bytestring.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-streaming-bytestring" Mon Aug 1 21:31:17 2022 rev:7 rq:987147 version:0.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-streaming-bytestring/ghc-streaming-bytestring.changes 2022-02-15 23:57:58.876328653 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-streaming-bytestring.new.1533/ghc-streaming-bytestring.changes 2022-08-01 21:32:03.913943292 +0200 @@ -1,0 +2,10 @@ +Wed May 18 17:51:29 UTC 2022 - Peter Simons <psimons@suse.com> + +- Update streaming-bytestring to version 0.2.2. + ## 0.2.2 (2022-05-18) + + #### Changed + + - Dependency adjustments. + +------------------------------------------------------------------- Old: ---- streaming-bytestring-0.2.1.tar.gz New: ---- streaming-bytestring-0.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-streaming-bytestring.spec ++++++ --- /var/tmp/diff_new_pack.ZMNi7D/_old 2022-08-01 21:32:04.657945427 +0200 +++ /var/tmp/diff_new_pack.ZMNi7D/_new 2022-08-01 21:32:04.661945438 +0200 @@ -19,7 +19,7 @@ %global pkg_name streaming-bytestring %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.2.1 +Version: 0.2.2 Release: 0 Summary: Fast, effectful byte streams License: BSD-3-Clause @@ -69,7 +69,6 @@ %prep %autosetup -n %{pkg_name}-%{version} -cabal-tweak-dep-ver mmorph '<1.2' '< 2' %build %ghc_lib_build ++++++ streaming-bytestring-0.2.1.tar.gz -> streaming-bytestring-0.2.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/streaming-bytestring-0.2.1/CHANGELOG.md new/streaming-bytestring-0.2.2/CHANGELOG.md --- old/streaming-bytestring-0.2.1/CHANGELOG.md 2021-06-23 21:14:12.000000000 +0200 +++ new/streaming-bytestring-0.2.2/CHANGELOG.md 2022-05-18 19:50:51.000000000 +0200 @@ -1,3 +1,9 @@ +## 0.2.2 (2022-05-18) + +#### Changed + +- Dependency adjustments. + ## 0.2.1 (2021-06-23) #### Changed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/streaming-bytestring-0.2.1/lib/Streaming/ByteString/Internal.hs new/streaming-bytestring-0.2.2/lib/Streaming/ByteString/Internal.hs --- old/streaming-bytestring-0.2.1/lib/Streaming/ByteString/Internal.hs 2021-06-23 21:03:45.000000000 +0200 +++ new/streaming-bytestring-0.2.2/lib/Streaming/ByteString/Internal.hs 2022-01-21 19:15:08.000000000 +0100 @@ -133,18 +133,18 @@ {-# INLINE pure #-} bf <*> bx = do {f <- bf; x <- bx; Empty (f x)} {-# INLINE (<*>) #-} - (*>) = (>>) - {-# INLINE (*>) #-} - -instance Monad m => Monad (ByteStream m) where - return = Empty - {-# INLINE return #-} - x0 >> y = loop SPEC x0 where + x0 *> y = loop SPEC x0 where loop !_ x = case x of -- this seems to be insanely effective Empty _ -> y Chunk a b -> Chunk a (loop SPEC b) Go m -> Go (fmap (loop SPEC) m) - {-# INLINEABLE (>>) #-} + {-# INLINEABLE (*>) #-} + +instance Monad m => Monad (ByteStream m) where + return = pure + {-# INLINE return #-} + (>>) = (*>) + {-# INLINE (>>) #-} x >>= f = -- case x of -- Empty a -> f a @@ -189,7 +189,11 @@ instance (Monoid r, Monad m) => Monoid (ByteStream m r) where mempty = Empty mempty {-# INLINE mempty #-} +#if MIN_VERSION_base(4,11,0) + mappend = (<>) +#else mappend = liftM2 mappend +#endif {-# INLINE mappend #-} instance (MonadBase b m) => MonadBase b (ByteStream m) where diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/streaming-bytestring-0.2.1/streaming-bytestring.cabal new/streaming-bytestring-0.2.2/streaming-bytestring.cabal --- old/streaming-bytestring-0.2.1/streaming-bytestring.cabal 2021-06-23 21:13:28.000000000 +0200 +++ new/streaming-bytestring-0.2.2/streaming-bytestring.cabal 2022-05-18 19:50:51.000000000 +0200 @@ -1,6 +1,6 @@ cabal-version: >=1.10 name: streaming-bytestring -version: 0.2.1 +version: 0.2.2 synopsis: Fast, effectful byte streams. description: This library enables fast and safe streaming of byte data, in either @Word8@ or @@ -40,11 +40,12 @@ || ==8.4.4 || ==8.6.5 || ==8.8.4 - || ==8.10.2 + || ==8.10.3 + || ==9.0.2 source-repository head type: git - location: https://github.com/michaelt/streaming-bytestring + location: https://github.com/haskell-streaming/streaming-bytestring library default-language: Haskell2010 @@ -71,8 +72,8 @@ , bytestring , deepseq , exceptions - , ghc-prim >=0.4 && <0.8 - , mmorph >=1.0 && <1.2 + , ghc-prim >=0.4 && <0.9 + , mmorph >=1.0 && <1.3 , mtl >=2.1 && <2.3 , resourcet , streaming >=0.1.4.0 && <0.3
participants (1)
-
Source-Sync