Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-microlens-mtl for openSUSE:Factory checked in at 2023-01-18 13:10:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-microlens-mtl (Old) and /work/SRC/openSUSE:Factory/.ghc-microlens-mtl.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-microlens-mtl" Wed Jan 18 13:10:07 2023 rev:5 rq:1059085 version:0.2.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-microlens-mtl/ghc-microlens-mtl.changes 2022-08-01 21:30:24.873659151 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-microlens-mtl.new.32243/ghc-microlens-mtl.changes 2023-01-18 13:10:27.672696630 +0100 @@ -1,0 +2,8 @@ +Wed Dec 14 05:19:46 UTC 2022 - Peter Simons <psim...@suse.com> + +- Update microlens-mtl to version 0.2.0.3. + # 0.2.0.2 + + * Added support for mtl 2.3 and transformers 0.6 per [#152](https://github.com/stevenfontanella/microlens/issues/152). + +------------------------------------------------------------------- Old: ---- microlens-mtl-0.2.0.2.tar.gz New: ---- microlens-mtl-0.2.0.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-microlens-mtl.spec ++++++ --- /var/tmp/diff_new_pack.Mqbu1U/_old 2023-01-18 13:10:28.272700186 +0100 +++ /var/tmp/diff_new_pack.Mqbu1U/_new 2023-01-18 13:10:28.276700210 +0100 @@ -18,7 +18,7 @@ %global pkg_name microlens-mtl Name: ghc-%{pkg_name} -Version: 0.2.0.2 +Version: 0.2.0.3 Release: 0 Summary: Microlens support for Reader/Writer/State from mtl License: BSD-3-Clause ++++++ microlens-mtl-0.2.0.2.tar.gz -> microlens-mtl-0.2.0.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/microlens-mtl-0.2.0.2/CHANGELOG.md new/microlens-mtl-0.2.0.3/CHANGELOG.md --- old/microlens-mtl-0.2.0.2/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 +++ new/microlens-mtl-0.2.0.3/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,7 @@ +# 0.2.0.2 + +* Added support for mtl 2.3 and transformers 0.6 per [#152](https://github.com/stevenfontanella/microlens/issues/152). + # 0.2.0.1 * No more conditional `Safe` (see [#122](https://github.com/monadfix/microlens/issues/122)). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/microlens-mtl-0.2.0.2/microlens-mtl.cabal new/microlens-mtl-0.2.0.3/microlens-mtl.cabal --- old/microlens-mtl-0.2.0.2/microlens-mtl.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/microlens-mtl-0.2.0.3/microlens-mtl.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,5 @@ name: microlens-mtl -version: 0.2.0.2 +version: 0.2.0.3 synopsis: microlens support for Reader/Writer/State from mtl description: This package contains functions (like 'view' or '+=') which work on 'MonadReader', 'MonadWriter', and 'MonadState' from the mtl package. @@ -8,7 +8,7 @@ license: BSD3 license-file: LICENSE author: Edward Kmett, Artyom Kazak -maintainer: Monadfix <h...@monadfix.com> +maintainer: Steven Fontanella <steven.fontane...@gmail.com> homepage: http://github.com/monadfix/microlens bug-reports: http://github.com/monadfix/microlens/issues -- copyright: @@ -26,8 +26,9 @@ GHC==8.6.5 GHC==8.8.4 GHC==8.10.7 - GHC==9.0.1 - GHC==9.2.1 + GHC==9.0.2 + GHC==9.2.5 + GHC==9.4.3 source-repository head type: git @@ -50,3 +51,4 @@ hs-source-dirs: src default-language: Haskell2010 + default-extensions: TypeOperators diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/microlens-mtl-0.2.0.2/src/Lens/Micro/Mtl/Internal.hs new/microlens-mtl-0.2.0.3/src/Lens/Micro/Mtl/Internal.hs --- old/microlens-mtl-0.2.0.2/src/Lens/Micro/Mtl/Internal.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/microlens-mtl-0.2.0.3/src/Lens/Micro/Mtl/Internal.hs 2001-09-09 03:46:40.000000000 +0200 @@ -9,6 +9,9 @@ {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE KindSignatures #-} {-# LANGUAGE Trustworthy #-} +#if !MIN_VERSION_base(4, 9, 0) +{-# LANGUAGE DataKinds #-} +#endif -- This is needed because ErrorT is deprecated. {-# OPTIONS_GHC -fno-warn-warnings-deprecations #-} @@ -78,13 +81,21 @@ import Data.Monoid #endif +#if MIN_VERSION_base(4,9,0) +import Data.Kind (Type) +#endif + ------------------------------------------------------------------------------ -- Zoomed ------------------------------------------------------------------------------ -- | This type family is used by 'Zoom' to describe the common effect type. +#if MIN_VERSION_base(4,9,0) +type family Zoomed (m :: Type -> Type) :: Type -> Type -> Type +#else type family Zoomed (m :: * -> *) :: * -> * -> * +#endif type instance Zoomed (Strict.StateT s z) = Focusing z type instance Zoomed (Lazy.StateT s z) = Focusing z type instance Zoomed (ReaderT e m) = Zoomed m @@ -419,7 +430,11 @@ ------------------------------------------------------------------------------ -- | This type family is used by 'Magnify' to describe the common effect type. +#if MIN_VERSION_base(4,9,0) +type family Magnified (m :: Type -> Type) :: Type -> Type -> Type +#else type family Magnified (m :: * -> *) :: * -> * -> * +#endif type instance Magnified (ReaderT b m) = Effect m type instance Magnified ((->)b) = Const type instance Magnified (Strict.RWST a w s m) = EffectRWS w s m