Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-mmorph for openSUSE:Factory checked in at 2021-08-25 20:56:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-mmorph (Old) and /work/SRC/openSUSE:Factory/.ghc-mmorph.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-mmorph" Wed Aug 25 20:56:57 2021 rev:6 rq:912609 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-mmorph/ghc-mmorph.changes 2021-03-10 08:58:07.930943289 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-mmorph.new.1899/ghc-mmorph.changes 2021-08-25 20:57:55.769183147 +0200 @@ -1,0 +2,15 @@ +Wed Jul 28 07:41:11 UTC 2021 - [email protected] + +- Update mmorph to version 1.2.0 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Mon Jul 19 07:06:04 UTC 2021 - [email protected] + +- Update mmorph to version 1.2.0. + 1.2.0 + + * BREAKING CHANGE: Remove instances for `ErrorT` and `ListT` + * These types are deprecated + +------------------------------------------------------------------- Old: ---- mmorph-1.1.5.tar.gz New: ---- mmorph-1.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-mmorph.spec ++++++ --- /var/tmp/diff_new_pack.WUbRTs/_old 2021-08-25 20:57:56.341182396 +0200 +++ /var/tmp/diff_new_pack.WUbRTs/_new 2021-08-25 20:57:56.345182391 +0200 @@ -18,7 +18,7 @@ %global pkg_name mmorph Name: ghc-%{pkg_name} -Version: 1.1.5 +Version: 1.2.0 Release: 0 Summary: Monad morphisms License: BSD-3-Clause ++++++ mmorph-1.1.5.tar.gz -> mmorph-1.2.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mmorph-1.1.5/CHANGELOG.md new/mmorph-1.2.0/CHANGELOG.md --- old/mmorph-1.1.5/CHANGELOG.md 2021-02-17 01:30:49.000000000 +0100 +++ new/mmorph-1.2.0/CHANGELOG.md 2021-07-17 01:13:52.000000000 +0200 @@ -1,3 +1,8 @@ +1.2.0 + +* BREAKING CHANGE: Remove instances for `ErrorT` and `ListT` + * These types are deprecated + 1.1.5 * Fix build failures on GHC 8.4 and 8.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mmorph-1.1.5/mmorph.cabal new/mmorph-1.2.0/mmorph.cabal --- old/mmorph-1.1.5/mmorph.cabal 2021-02-17 01:30:49.000000000 +0100 +++ new/mmorph-1.2.0/mmorph.cabal 2021-07-17 01:13:52.000000000 +0200 @@ -1,5 +1,5 @@ Name: mmorph -Version: 1.1.5 +Version: 1.2.0 Cabal-Version: >= 1.10 Build-Type: Simple License: BSD3 @@ -20,7 +20,7 @@ Library Hs-Source-Dirs: src Build-Depends: - base >= 4 && < 5 , + base >= 4.5 && < 5 , mtl >= 2.1 && < 2.3, transformers >= 0.2.0.0 && < 0.6, transformers-compat >= 0.3 && < 0.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mmorph-1.1.5/src/Control/Monad/Morph.hs new/mmorph-1.2.0/src/Control/Monad/Morph.hs --- old/mmorph-1.1.5/src/Control/Monad/Morph.hs 2021-02-17 01:30:49.000000000 +0100 +++ new/mmorph-1.2.0/src/Control/Monad/Morph.hs 2021-07-17 01:13:52.000000000 +0200 @@ -78,10 +78,8 @@ ) where import Control.Monad.Trans.Class (MonadTrans(lift)) -import qualified Control.Monad.Trans.Error as E import qualified Control.Monad.Trans.Except as Ex import qualified Control.Monad.Trans.Identity as I -import qualified Control.Monad.Trans.List as L import qualified Control.Monad.Trans.Maybe as M import qualified Control.Monad.Trans.Reader as R import qualified Control.Monad.Trans.RWS.Lazy as RWS @@ -117,18 +115,12 @@ -} hoist :: (Monad m) => (forall a . m a -> n a) -> t m b -> t n b -instance MFunctor (E.ErrorT e) where - hoist nat m = E.ErrorT (nat (E.runErrorT m)) - instance MFunctor (Ex.ExceptT e) where hoist nat m = Ex.ExceptT (nat (Ex.runExceptT m)) instance MFunctor I.IdentityT where hoist nat m = I.IdentityT (nat (I.runIdentityT m)) -instance MFunctor L.ListT where - hoist nat m = L.ListT (nat (L.runListT m)) - instance MFunctor M.MaybeT where hoist nat m = M.MaybeT (nat (M.runMaybeT m)) @@ -238,14 +230,6 @@ t |>= f = embed f t {-# INLINABLE (|>=) #-} -instance (E.Error e) => MMonad (E.ErrorT e) where - embed f m = E.ErrorT (do - x <- E.runErrorT (f (E.runErrorT m)) - return (case x of - Left e -> Left e - Right (Left e) -> Left e - Right (Right a) -> Right a ) ) - instance MMonad (Ex.ExceptT e) where embed f m = Ex.ExceptT (do x <- Ex.runExceptT (f (Ex.runExceptT m)) @@ -257,11 +241,6 @@ instance MMonad I.IdentityT where embed f m = f (I.runIdentityT m) -instance MMonad L.ListT where - embed f m = L.ListT (do - x <- L.runListT (f (L.runListT m)) - return (concat x)) - instance MMonad M.MaybeT where embed f m = M.MaybeT (do x <- M.runMaybeT (f (M.runMaybeT m)) ++++++ mmorph.cabal ++++++ --- /var/tmp/diff_new_pack.WUbRTs/_old 2021-08-25 20:57:56.449182254 +0200 +++ /var/tmp/diff_new_pack.WUbRTs/_new 2021-08-25 20:57:56.449182254 +0200 @@ -1,33 +1,33 @@ -Name: mmorph -Version: 1.1.5 -x-revision: 1 -Cabal-Version: >= 1.10 -Build-Type: Simple -License: BSD3 -License-File: LICENSE -Copyright: 2013 Gabriel Gonzalez -Author: Gabriel Gonzalez -Maintainer: [email protected] -Bug-Reports: https://github.com/Gabriel439/Haskell-MMorph-Library/issues -Synopsis: Monad morphisms -Description: This library provides monad morphism utilities, most commonly used - for manipulating monad transformer stacks. -Category: Control -Extra-Source-Files: CHANGELOG.md -Source-Repository head - Type: git - Location: https://github.com/Gabriel439/Haskell-MMorph-Library - -Library - Hs-Source-Dirs: src - Build-Depends: - base >= 4.5 && < 5 , - mtl >= 2.1 && < 2.3, - transformers >= 0.2.0.0 && < 0.6, - transformers-compat >= 0.3 && < 0.7 - if impl(ghc < 8.0) - Build-Depends: - fail == 4.9.* - Exposed-Modules: Control.Monad.Morph, Control.Monad.Trans.Compose - GHC-Options: -O2 - Default-Language: Haskell2010 +Name: mmorph +Version: 1.2.0 +x-revision: 1 +Cabal-Version: >= 1.10 +Build-Type: Simple +License: BSD3 +License-File: LICENSE +Copyright: 2013 Gabriel Gonzalez +Author: Gabriel Gonzalez +Maintainer: [email protected] +Bug-Reports: https://github.com/Gabriel439/Haskell-MMorph-Library/issues +Synopsis: Monad morphisms +Description: This library provides monad morphism utilities, most commonly used + for manipulating monad transformer stacks. +Category: Control +Extra-Source-Files: CHANGELOG.md +Source-Repository head + Type: git + Location: https://github.com/Gabriel439/Haskell-MMorph-Library + +Library + Hs-Source-Dirs: src + Build-Depends: + base >= 4.5 && < 5 , + mtl >= 2.1 && < 2.3, + transformers >= 0.2.0.0 && < 0.6, + transformers-compat >= 0.3 && < 0.8 + if impl(ghc < 8.0) + Build-Depends: + fail == 4.9.* + Exposed-Modules: Control.Monad.Morph, Control.Monad.Trans.Compose + GHC-Options: -O2 + Default-Language: Haskell2010
