Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-generic-lens for
openSUSE:Factory checked in at 2021-02-16 22:37:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-generic-lens (Old)
and /work/SRC/openSUSE:Factory/.ghc-generic-lens.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-generic-lens"
Tue Feb 16 22:37:24 2021 rev:4 rq:870455 version:2.1.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-generic-lens/ghc-generic-lens.changes
2020-12-22 11:39:47.473520338 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-generic-lens.new.28504/ghc-generic-lens.changes
2021-02-16 22:45:37.386356488 +0100
@@ -1,0 +2,7 @@
+Wed Jan 27 19:35:24 UTC 2021 - [email protected]
+
+- Update generic-lens to version 2.1.0.0.
+ ## generic-lens-2.1.0.0 (2021-01-25)
+ - Bump to generic-lens-core-2.1.0.0
+
+-------------------------------------------------------------------
Old:
----
generic-lens-2.0.0.0.tar.gz
New:
----
generic-lens-2.1.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-generic-lens.spec ++++++
--- /var/tmp/diff_new_pack.p21o3n/_old 2021-02-16 22:45:38.102357430 +0100
+++ /var/tmp/diff_new_pack.p21o3n/_new 2021-02-16 22:45:38.106357435 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-generic-lens
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%global pkg_name generic-lens
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 2.0.0.0
+Version: 2.1.0.0
Release: 0
Summary: Generically derive traversals, lenses and prisms
License: BSD-3-Clause
++++++ generic-lens-2.0.0.0.tar.gz -> generic-lens-2.1.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generic-lens-2.0.0.0/ChangeLog.md
new/generic-lens-2.1.0.0/ChangeLog.md
--- old/generic-lens-2.0.0.0/ChangeLog.md 2001-09-09 03:46:40.000000000
+0200
+++ new/generic-lens-2.1.0.0/ChangeLog.md 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,6 @@
+## generic-lens-2.1.0.0 (2021-01-25)
+- Bump to generic-lens-core-2.1.0.0
+
## generic-lens-2.0.0.0 (2020-02-11)
- Drop support for GHC < 8.4
- Better inference for `field'`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/generic-lens-2.0.0.0/generic-lens.cabal
new/generic-lens-2.1.0.0/generic-lens.cabal
--- old/generic-lens-2.0.0.0/generic-lens.cabal 2001-09-09 03:46:40.000000000
+0200
+++ new/generic-lens-2.1.0.0/generic-lens.cabal 2001-09-09 03:46:40.000000000
+0200
@@ -1,5 +1,5 @@
name: generic-lens
-version: 2.0.0.0
+version: 2.1.0.0
synopsis: Generically derive traversals, lenses and prisms.
description: This library uses GHC.Generics to derive efficient
optics (traversals, lenses and prisms) for algebraic data types in a
type-directed way, with a focus on good type inference and error messages when
possible.
.
@@ -45,7 +45,7 @@
, Data.Generics.Internal.VL.Iso
build-depends: base >= 4.11 && < 5
- , generic-lens-core == 2.0.0.0
+ , generic-lens-core == 2.1.0.0
, profunctors
, text >= 1.2 && < 1.3
@@ -102,4 +102,4 @@
ghc-options: -threaded
main-is: doctest.hs
build-depends: base >4 && <5, doctest
- hs-source-dirs: examples
\ No newline at end of file
+ hs-source-dirs: examples
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/generic-lens-2.0.0.0/src/Data/Generics/Internal/VL/Iso.hs
new/generic-lens-2.1.0.0/src/Data/Generics/Internal/VL/Iso.hs
--- old/generic-lens-2.0.0.0/src/Data/Generics/Internal/VL/Iso.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/generic-lens-2.1.0.0/src/Data/Generics/Internal/VL/Iso.hs
2001-09-09 03:46:40.000000000 +0200
@@ -32,6 +32,10 @@
data Exchange a b s t = Exchange (s -> a) (b -> t)
+instance Functor (Exchange a b s) where
+ fmap f (Exchange p q) = Exchange p (f . q)
+ {-# INLINE fmap #-}
+
instance Profunctor (Exchange a b) where
dimap f g (Exchange sa bt) = Exchange (sa . f) (g . bt)
{-# INLINE dimap #-}