Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-quickcheck-instances for
openSUSE:Factory checked in at 2022-02-11 23:09:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-quickcheck-instances (Old)
and /work/SRC/openSUSE:Factory/.ghc-quickcheck-instances.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-quickcheck-instances"
Fri Feb 11 23:09:29 2022 rev:5 rq:953514 version:0.3.27
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-quickcheck-instances/ghc-quickcheck-instances.changes
2021-12-19 17:34:47.284279797 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-quickcheck-instances.new.1956/ghc-quickcheck-instances.changes
2022-02-11 23:11:26.327298125 +0100
@@ -1,0 +2,8 @@
+Sat Jan 1 01:31:39 UTC 2022 - Peter Simons <[email protected]>
+
+- Update quickcheck-instances to version 0.3.27 revision 1.
+ 0.3.27
+
+ * Add instances for `Backwards`, `Reverse` and `Lift` from `transformers`
+
+-------------------------------------------------------------------
Old:
----
quickcheck-instances-0.3.26.1.tar.gz
New:
----
quickcheck-instances-0.3.27.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-quickcheck-instances.spec ++++++
--- /var/tmp/diff_new_pack.wGWBta/_old 2022-02-11 23:11:26.807299514 +0100
+++ /var/tmp/diff_new_pack.wGWBta/_new 2022-02-11 23:11:26.815299537 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-quickcheck-instances
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 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 quickcheck-instances
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.3.26.1
+Version: 0.3.27
Release: 0
Summary: Common quickcheck instances
License: BSD-3-Clause
++++++ quickcheck-instances-0.3.26.1.tar.gz ->
quickcheck-instances-0.3.27.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/quickcheck-instances-0.3.26.1/CHANGES
new/quickcheck-instances-0.3.27/CHANGES
--- old/quickcheck-instances-0.3.26.1/CHANGES 2001-09-09 03:46:40.000000000
+0200
+++ new/quickcheck-instances-0.3.27/CHANGES 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,7 @@
+0.3.27
+
+* Add instances for `Backwards`, `Reverse` and `Lift` from `transformers`
+
0.3.26.1
* Support `hashable-1.4`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/quickcheck-instances-0.3.26.1/quickcheck-instances.cabal
new/quickcheck-instances-0.3.27/quickcheck-instances.cabal
--- old/quickcheck-instances-0.3.26.1/quickcheck-instances.cabal
2001-09-09 03:46:40.000000000 +0200
+++ new/quickcheck-instances-0.3.27/quickcheck-instances.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
name: quickcheck-instances
-version: 0.3.26.1
+version: 0.3.27
synopsis: Common quickcheck instances
description:
QuickCheck instances.
@@ -111,7 +111,7 @@
build-depends: time
if !impl(ghc >=8.0)
- build-depends: semigroups >=0.18.5 && <0.20
+ build-depends: semigroups >=0.18.5 && <0.21
if !impl(ghc >=7.10)
build-depends:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/quickcheck-instances-0.3.26.1/src/Test/QuickCheck/Instances/Transformer.hs
new/quickcheck-instances-0.3.27/src/Test/QuickCheck/Instances/Transformer.hs
---
old/quickcheck-instances-0.3.26.1/src/Test/QuickCheck/Instances/Transformer.hs
2001-09-09 03:46:40.000000000 +0200
+++
new/quickcheck-instances-0.3.27/src/Test/QuickCheck/Instances/Transformer.hs
2001-09-09 03:46:40.000000000 +0200
@@ -6,6 +6,10 @@
import Prelude ()
import Test.QuickCheck.Instances.CustomPrelude
+import Control.Applicative.Backwards (Backwards (..))
+import Control.Applicative.Lift (Lift (..))
+import Data.Functor.Reverse (Reverse (..))
+
import Control.Monad.Trans.Maybe (MaybeT (..))
import Data.Functor.Sum (Sum (..))
@@ -33,3 +37,32 @@
instance (Arbitrary1 f, Arbitrary1 g, Arbitrary a) => Arbitrary (Sum f g a)
where
arbitrary = arbitrary1
shrink = shrink1
+
+instance Arbitrary1 f => Arbitrary1 (Backwards f) where
+ liftArbitrary arb = fmap Backwards (liftArbitrary arb)
+ liftShrink shr (Backwards xs) = map Backwards (liftShrink shr xs)
+
+instance (Arbitrary1 f, Arbitrary a) => Arbitrary (Backwards f a) where
+ arbitrary = arbitrary1
+ shrink = shrink1
+
+instance Arbitrary1 f => Arbitrary1 (Reverse f) where
+ liftArbitrary arb = fmap Reverse (liftArbitrary arb)
+ liftShrink shr (Reverse xs) = map Reverse (liftShrink shr xs)
+
+instance (Arbitrary1 f, Arbitrary a) => Arbitrary (Reverse f a) where
+ arbitrary = arbitrary1
+ shrink = shrink1
+
+instance Arbitrary1 f => Arbitrary1 (Lift f) where
+ liftArbitrary arb = oneof
+ [ fmap Pure arb
+ , fmap Other (liftArbitrary arb)
+ ]
+
+ liftShrink shr (Pure x) = map Pure (shr x)
+ liftShrink shr (Other xs) = map Other (liftShrink shr xs)
+
+instance (Arbitrary1 f, Arbitrary a) => Arbitrary (Lift f a) where
+ arbitrary = arbitrary1
+ shrink = shrink1
++++++ quickcheck-instances.cabal ++++++
--- /var/tmp/diff_new_pack.wGWBta/_old 2022-02-11 23:11:26.923299849 +0100
+++ /var/tmp/diff_new_pack.wGWBta/_new 2022-02-11 23:11:26.927299861 +0100
@@ -1,5 +1,5 @@
name: quickcheck-instances
-version: 0.3.26.1
+version: 0.3.27
x-revision: 1
synopsis: Common quickcheck instances
description:
@@ -99,7 +99,7 @@
, scientific >=0.3.6.2 && <0.4
, strict >=0.4 && <0.5
, tagged >=0.8.6 && <0.9
- , text >=1.2.3.0 && <1.3
+ , text >=1.2.3.0 && <1.3 || >=2.0 && <2.1
, these >=1.1.1.1 && <1.2
, time-compat >=1.9.4 && <1.10
, transformers >=0.3.0.0 && <0.7