commit ghc-optics-core for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-optics-core for openSUSE:Factory checked in at 2023-06-30 19:58:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-optics-core (Old) and /work/SRC/openSUSE:Factory/.ghc-optics-core.new.13546 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-optics-core" Fri Jun 30 19:58:52 2023 rev:6 rq:1096039 version:0.4.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-optics-core/ghc-optics-core.changes 2023-04-04 21:22:10.337792227 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-optics-core.new.13546/ghc-optics-core.changes 2023-06-30 19:59:12.277762088 +0200 @@ -1,0 +2,7 @@ +Thu Jun 22 21:12:56 UTC 2023 - Peter Simons <psimons@suse.com> + +- Update optics-core to version 0.4.1.1. + # optics-core-0.4.1.1 (2023-06-22) + * Add INLINE pragmas to small functions that really should inline + +------------------------------------------------------------------- Old: ---- optics-core-0.4.1.tar.gz optics-core.cabal New: ---- optics-core-0.4.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-optics-core.spec ++++++ --- /var/tmp/diff_new_pack.fnyZ3w/_old 2023-06-30 19:59:12.885765705 +0200 +++ /var/tmp/diff_new_pack.fnyZ3w/_new 2023-06-30 19:59:12.889765728 +0200 @@ -19,13 +19,12 @@ %global pkg_name optics-core %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.4.1 +Version: 0.4.1.1 Release: 0 Summary: Optics as an abstract interface: core definitions License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-array-devel BuildRequires: ghc-array-prof @@ -78,7 +77,6 @@ %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ optics-core-0.4.1.tar.gz -> optics-core-0.4.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optics-core-0.4.1/CHANGELOG.md new/optics-core-0.4.1.1/CHANGELOG.md --- old/optics-core-0.4.1/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 +++ new/optics-core-0.4.1.1/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,6 @@ +# optics-core-0.4.1.1 (2023-06-22) +* Add INLINE pragmas to small functions that really should inline + # optics-core-0.4.1 (2022-03-22) * Add support for GHC-9.2 * Add `is` ([#410](https://github.com/well-typed/optics/pull/410)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optics-core-0.4.1/optics-core.cabal new/optics-core-0.4.1.1/optics-core.cabal --- old/optics-core-0.4.1/optics-core.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/optics-core-0.4.1.1/optics-core.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,13 +1,13 @@ cabal-version: 2.2 name: optics-core -version: 0.4.1 +version: 0.4.1.1 license: BSD-3-Clause license-file: LICENSE build-type: Simple maintainer: optics@well-typed.com author: Adam Gundry, Andres L��h, Andrzej Rybczak, Oleg Grenrus tested-with: GHC ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 - || ==9.0.2 || ==9.2.2, GHCJS ==8.4 + || ==9.0.2 || ==9.2.8 || ==9.4.5 || ==9.6.2, GHCJS ==8.4 synopsis: Optics as an abstract interface: core definitions category: Data, Optics, Lenses description: @@ -75,7 +75,7 @@ , array >= 0.5.2.0 && <0.6 , containers >= 0.5.10.2 && <0.7 , indexed-profunctors >= 0.1 && <0.2 - , transformers >= 0.5 && <0.6 + , transformers >= 0.5 && <0.7 , indexed-traversable >= 0.1 && <0.2 exposed-modules: Optics.Core diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optics-core-0.4.1/src/Optics/Internal/Optic/TypeLevel.hs new/optics-core-0.4.1.1/src/Optics/Internal/Optic/TypeLevel.hs --- old/optics-core-0.4.1/src/Optics/Internal/Optic/TypeLevel.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/optics-core-0.4.1.1/src/Optics/Internal/Optic/TypeLevel.hs 2001-09-09 03:46:40.000000000 +0200 @@ -111,12 +111,12 @@ class AppendIndices xs ys ks | xs ys -> ks where appendIndices :: IxEq i (Curry xs (Curry ys i)) (Curry ks i) --- | If the second list is empty, we can shortcircuit and pick the first list --- immediately. -instance {-# INCOHERENT #-} AppendIndices xs '[] xs where +-- | If the second list is empty, we can pick the first list +-- even if nothing is known about it. +instance {-# INCOHERENT #-} xs ~ zs => AppendIndices xs '[] zs where appendIndices = IxEq -instance AppendIndices '[] ys ys where +instance ys ~ zs => AppendIndices '[] ys zs where appendIndices = IxEq instance AppendIndices xs ys ks => AppendIndices (x ': xs) ys (x ': ks) where diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optics-core-0.4.1/src/Optics/Internal/Optic.hs new/optics-core-0.4.1.1/src/Optics/Internal/Optic.hs --- old/optics-core-0.4.1/src/Optics/Internal/Optic.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/optics-core-0.4.1.1/src/Optics/Internal/Optic.hs 2001-09-09 03:46:40.000000000 +0200 @@ -106,6 +106,7 @@ . Optic_ srcKind p i (Curry is i) s t a b -> Optic_ destKind p i (Curry is i) s t a b cast x = implies @srcKind @destKind @p x +{-# INLINE castOptic #-} -- | Compose two optics of compatible flavours. -- @@ -128,6 +129,7 @@ m :: forall p i. (Profunctor p, Constraints m p) => Optic__ p i (Curry ks i) s t a b m | IxEq <- appendIndices @is @js @ks @i = km . lm +{-# INLINE (%) #-} -- | Compose two optics of the same flavour. -- @@ -144,6 +146,7 @@ oo :: forall p i. (Profunctor p, Constraints k p) => Optic__ p i (Curry ks i) s t a b oo | IxEq <- appendIndices @is @js @ks @i = o . o' +{-# INLINE (%%) #-} -- | Flipped function application, specialised to optics and binding tightly. -- @@ -157,6 +160,7 @@ -> (Optic k is s t a b -> Optic l js s' t' a' b') -> Optic l js s' t' a' b' (%&) = (&) +{-# INLINE (%&) #-} -- $setup -- >>> import Optics.Core diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/optics-core-0.4.1/src/Optics/Iso.hs new/optics-core-0.4.1.1/src/Optics/Iso.hs --- old/optics-core-0.4.1/src/Optics/Iso.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/optics-core-0.4.1.1/src/Optics/Iso.hs 2001-09-09 03:46:40.000000000 +0200 @@ -50,8 +50,8 @@ -- | The functions translating back and forth must be mutually inverse: -- -- @ - -- 'Optics.Getter.view' i . 'Optics.Getter.review' i ��� 'id' - -- 'Optics.Getter.review' i . 'Optics.Getter.view' i ��� 'id' + -- 'Optics.Getter.view' i . 'Optics.Review.review' i ��� 'id' + -- 'Optics.Review.review' i . 'Optics.Getter.view' i ��� 'id' -- @ -- * Additional introduction forms
participants (1)
-
Source-Sync