commit ghc-contravariant for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-contravariant for openSUSE:Factory checked in at 2020-08-28 21:28:00 Comparing /work/SRC/openSUSE:Factory/ghc-contravariant (Old) and /work/SRC/openSUSE:Factory/.ghc-contravariant.new.3399 (New) Package is "ghc-contravariant" Fri Aug 28 21:28:00 2020 rev:14 rq:829228 version:1.5.2 Changes: --- /work/SRC/openSUSE:Factory/ghc-contravariant/ghc-contravariant.changes 2020-06-19 17:10:38.201629632 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-contravariant.new.3399/ghc-contravariant.changes 2020-08-28 21:28:06.364517093 +0200 @@ -1,0 +2,5 @@ +Tue Aug 18 10:44:26 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +--- Other differences: -- ++ ghc-contravariant.spec ++ --- /var/tmp/diff_new_pack.AktHaA/_old 2020-08-28 21:28:07.664517709 +0200 +++ /var/tmp/diff_new_pack.AktHaA/_new 2020-08-28 21:28:07.668517711 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-contravariant # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -43,7 +43,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%autosetup -n %{pkg_name}-%{version} %build %ghc_lib_build
commit ghc-contravariant for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-contravariant for openSUSE:Factory checked in at 2020-06-19 17:10:30 Comparing /work/SRC/openSUSE:Factory/ghc-contravariant (Old) and /work/SRC/openSUSE:Factory/.ghc-contravariant.new.3606 (New) Package is "ghc-contravariant" Fri Jun 19 17:10:30 2020 rev:13 rq:815063 version:1.5.2 Changes: --- /work/SRC/openSUSE:Factory/ghc-contravariant/ghc-contravariant.changes 2019-12-27 13:52:34.780625051 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-contravariant.new.3606/ghc-contravariant.changes 2020-06-19 17:10:38.201629632 +0200 @@ -1,0 +2,5 @@ +Tue Jun 16 11:13:56 UTC 2020 - Peter Simons + +- Re-generate file with latest version of spec-cleaner. + +--- Other differences: -- ++ ghc-contravariant.spec ++ --- /var/tmp/diff_new_pack.u74ScY/_old 2020-06-19 17:10:39.789634563 +0200 +++ /var/tmp/diff_new_pack.u74ScY/_new 2020-06-19 17:10:39.793634576 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-contravariant # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed
commit ghc-contravariant for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-contravariant for openSUSE:Factory checked in at 2019-12-27 13:52:33 Comparing /work/SRC/openSUSE:Factory/ghc-contravariant (Old) and /work/SRC/openSUSE:Factory/.ghc-contravariant.new.6675 (New) Package is "ghc-contravariant" Fri Dec 27 13:52:33 2019 rev:12 rq:759369 version:1.5.2 Changes: --- /work/SRC/openSUSE:Factory/ghc-contravariant/ghc-contravariant.changes 2019-06-12 13:18:34.388571551 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-contravariant.new.6675/ghc-contravariant.changes 2019-12-27 13:52:34.780625051 +0100 @@ -1,0 +2,5 @@ +Fri Nov 8 16:13:29 UTC 2019 - Peter Simons + +- Drop obsolete group attributes. + +--- Other differences: -- ++ ghc-contravariant.spec ++ --- /var/tmp/diff_new_pack.fyTfzW/_old 2019-12-27 13:52:35.212625358 +0100 +++ /var/tmp/diff_new_pack.fyTfzW/_new 2019-12-27 13:52:35.212625358 +0100 @@ -22,7 +22,6 @@ Release:0 Summary:Contravariant functors License:BSD-3-Clause -Group: Development/Libraries/Haskell URL:https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel @@ -35,7 +34,6 @@ %package devel Summary:Haskell %{pkg_name} library development files -Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version}
commit ghc-contravariant for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-contravariant for openSUSE:Factory checked in at 2019-06-12 13:18:31 Comparing /work/SRC/openSUSE:Factory/ghc-contravariant (Old) and /work/SRC/openSUSE:Factory/.ghc-contravariant.new.4811 (New) Package is "ghc-contravariant" Wed Jun 12 13:18:31 2019 rev:11 rq:709198 version:1.5.2 Changes: --- /work/SRC/openSUSE:Factory/ghc-contravariant/ghc-contravariant.changes 2019-05-12 11:34:57.526143938 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-contravariant.new.4811/ghc-contravariant.changes 2019-06-12 13:18:34.388571551 +0200 @@ -1,0 +2,9 @@ +Tue Jun 4 02:02:26 UTC 2019 - psim...@suse.com + +- Update contravariant to version 1.5.2. + 1.5.2 [2019.06.03] + -- + * Mark `Data.Functor.Contravariant` and `Data.Functor.Contravariant.Generic` +as unconditionally `Trustworthy`. + +--- Old: contravariant-1.5.1.tar.gz New: contravariant-1.5.2.tar.gz Other differences: -- ++ ghc-contravariant.spec ++ --- /var/tmp/diff_new_pack.oByinv/_old 2019-06-12 13:18:34.840571345 +0200 +++ /var/tmp/diff_new_pack.oByinv/_new 2019-06-12 13:18:34.844571343 +0200 @@ -18,7 +18,7 @@ %global pkg_name contravariant Name: ghc-%{pkg_name} -Version:1.5.1 +Version:1.5.2 Release:0 Summary:Contravariant functors License:BSD-3-Clause ++ contravariant-1.5.1.tar.gz -> contravariant-1.5.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.5.1/CHANGELOG.markdown new/contravariant-1.5.2/CHANGELOG.markdown --- old/contravariant-1.5.1/CHANGELOG.markdown 2001-09-09 03:46:40.0 +0200 +++ new/contravariant-1.5.2/CHANGELOG.markdown 2001-09-09 03:46:40.0 +0200 @@ -1,3 +1,8 @@ +1.5.2 [2019.06.03] +-- +* Mark `Data.Functor.Contravariant` and `Data.Functor.Contravariant.Generic` + as unconditionally `Trustworthy`. + 1.5.1 [2019.05.02] -- * Remove the use of `unsafeCoerce` in `Data.Functor.Contravariant.Generic`. As diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.5.1/contravariant.cabal new/contravariant-1.5.2/contravariant.cabal --- old/contravariant-1.5.1/contravariant.cabal 2001-09-09 03:46:40.0 +0200 +++ new/contravariant-1.5.2/contravariant.cabal 2001-09-09 03:46:40.0 +0200 @@ -1,6 +1,6 @@ name: contravariant category: Control, Data -version: 1.5.1 +version: 1.5.2 license: BSD3 cabal-version: >= 1.6 license-file: LICENSE @@ -77,7 +77,7 @@ build-depends: semigroups >= 0.15.2 && < 1 if flag(StateVar) -build-depends: StateVar >= 1.1.1 && < 1.2 +build-depends: StateVar >= 1.1.1 && < 1.3 if impl(ghc >= 7.2 && < 7.6) build-depends: ghc-prim @@ -93,4 +93,7 @@ if impl(ghc >= 7.4) exposed-modules: Data.Functor.Contravariant.Generic + if impl(ghc >= 7.10) +ghc-options: -fno-warn-trustworthy-safe + ghc-options: -Wall diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.5.1/old-src/Data/Functor/Contravariant.hs new/contravariant-1.5.2/old-src/Data/Functor/Contravariant.hs --- old/contravariant-1.5.1/old-src/Data/Functor/Contravariant.hs 2001-09-09 03:46:40.0 +0200 +++ new/contravariant-1.5.2/old-src/Data/Functor/Contravariant.hs 2001-09-09 03:46:40.0 +0200 @@ -14,13 +14,9 @@ #define MIN_VERSION_base(x,y,z) 1 #endif -#if __GLASGOW_HASKELL__ >= 704 -#if MIN_VERSION_transformers(0,3,0) && MIN_VERSION_tagged(0,6,1) -{-# LANGUAGE Safe #-} -#else +#if __GLASGOW_HASKELL__ >= 702 {-# LANGUAGE Trustworthy #-} #endif -#endif {-# OPTIONS_GHC -fno-warn-deprecations #-} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.5.1/src/Data/Functor/Contravariant/Generic.hs new/contravariant-1.5.2/src/Data/Functor/Contravariant/Generic.hs --- old/contravariant-1.5.1/src/Data/Functor/Contravariant/Generic.hs 2001-09-09 03:46:40.0 +0200 +++ new/contravariant-1.5.2/src/Data/Functor/Contravariant/Generic.hs 2001-09-09 03:46:40.0 +0200 @@ -1,6 +1,6 @@ {-# LANGUAGE CPP #-} -#if __GLASGOW_HASKELL__ >= 704 -{-# LANGUAGE Safe #-} +#if __GLASGOW_HASKELL__ >= 702 +{-# LANGUAGE Trustworthy #-} #endif {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE ConstraintKinds #-}
commit ghc-contravariant for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-contravariant for openSUSE:Factory checked in at 2019-05-12 11:34:47 Comparing /work/SRC/openSUSE:Factory/ghc-contravariant (Old) and /work/SRC/openSUSE:Factory/.ghc-contravariant.new.5148 (New) Package is "ghc-contravariant" Sun May 12 11:34:47 2019 rev:10 rq:701762 version:1.5.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-contravariant/ghc-contravariant.changes 2018-10-25 08:23:53.603869340 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-contravariant.new.5148/ghc-contravariant.changes 2019-05-12 11:34:57.526143938 +0200 @@ -1,0 +2,9 @@ +Fri May 3 02:03:03 UTC 2019 - psim...@suse.com + +- Update contravariant to version 1.5.1. + 1.5.1 [2019.05.02] + -- + * Remove the use of `unsafeCoerce` in `Data.Functor.Contravariant.Generic`. As +a result, the `safe` flag has been removed, as it is no longer used. + +--- Old: contravariant-1.5.tar.gz New: contravariant-1.5.1.tar.gz Other differences: -- ++ ghc-contravariant.spec ++ --- /var/tmp/diff_new_pack.7RJ777/_old 2019-05-12 11:34:59.458149594 +0200 +++ /var/tmp/diff_new_pack.7RJ777/_new 2019-05-12 11:34:59.458149594 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-contravariant # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %global pkg_name contravariant Name: ghc-%{pkg_name} -Version:1.5 +Version:1.5.1 Release:0 Summary:Contravariant functors License:BSD-3-Clause ++ contravariant-1.5.tar.gz -> contravariant-1.5.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.5/.travis.yml new/contravariant-1.5.1/.travis.yml --- old/contravariant-1.5/.travis.yml 2018-07-02 01:07:28.0 +0200 +++ new/contravariant-1.5.1/.travis.yml 2001-09-09 03:46:40.0 +0200 @@ -1,167 +1,179 @@ # This Travis job script has been generated by a script via # -# runghc make_travis_yml_2.hs '-o' '.travis.yml' '--ghc-head' '--irc-channel=irc.freenode.org#haskell-lens' '--no-no-tests-no-bench' '--no-unconstrained' 'cabal.project' +# haskell-ci '--output=.travis.yml' '--config=cabal.haskell-ci' 'cabal.project' # -# For more information, see https://github.com/hvr/multi-ghc-travis +# For more information, see https://github.com/haskell-CI/haskell-ci +# +# version: 0.3.20190425 # language: c -sudo: false - +dist: xenial git: - submodules: false # whether to recursively clone submodules - + # whether to recursively clone submodules + submodules: false notifications: irc: channels: - - "irc.freenode.org#haskell-lens" + - irc.freenode.org#haskell-lens skip_join: true template: - - "\x0313contravariant\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}" - + - "\"\\x0313contravariant\\x03/\\x0306%{branch}\\x03 \\x0314%{commit}\\x03 %{build_url} %{message}\"" cache: directories: - $HOME/.cabal/packages - $HOME/.cabal/store - before_cache: - - rm -fv $HOME/.cabal/packages/hackage.haskell.org/build-reports.log + - rm -fv $CABALHOME/packages/hackage.haskell.org/build-reports.log # remove files that are regenerated by 'cabal update' - - rm -fv $HOME/.cabal/packages/hackage.haskell.org/00-index.* - - rm -fv $HOME/.cabal/packages/hackage.haskell.org/*.json - - rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.cache - - rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.tar - - rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.tar.idx - - - rm -rfv $HOME/.cabal/packages/head.hackage - -addons: - apt: -packages: &apt_packages - - ghc-ppa-tools - - hlint - + - rm -fv $CABALHOME/packages/hackage.haskell.org/00-index.* + - rm -fv $CABALHOME/packages/hackage.haskell.org/*.json + - rm -fv $CABALHOME/packages/hackage.haskell.org/01-index.cache + - rm -fv $CABALHOME/packages/hackage.haskell.org/01-index.tar + - rm -fv $CABALHOME/packages/hackage.haskell.org/01-index.tar.idx + - rm -rfv $CABALHOME/packages/head.hackage matrix: include: -- compiler: "ghc-8.6.1" +- compiler: ghc-8.8.1 + addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.8.1","cabal-install-3.0"]}} env: GHCHEAD=true - addons: {apt: {packages: [*apt_packages,cabal-install-head,ghc-8.6.1], sources: [hvr-ghc]}} -- compiler: "ghc-8.4.3" -# env: TES
commit ghc-contravariant for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-contravariant for openSUSE:Factory checked in at 2018-10-25 08:23:50 Comparing /work/SRC/openSUSE:Factory/ghc-contravariant (Old) and /work/SRC/openSUSE:Factory/.ghc-contravariant.new (New) Package is "ghc-contravariant" Thu Oct 25 08:23:50 2018 rev:9 rq:643372 version:1.5 Changes: --- /work/SRC/openSUSE:Factory/ghc-contravariant/ghc-contravariant.changes 2018-07-24 17:16:33.186850190 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-contravariant.new/ghc-contravariant.changes 2018-10-25 08:23:53.603869340 +0200 @@ -1,0 +2,5 @@ +Sat Oct 20 11:31:21 UTC 2018 - Peter Simons + +- Use https URL to refer to bugs.opensuse.org. + +--- Other differences: -- ++ ghc-contravariant.spec ++ --- /var/tmp/diff_new_pack.JjGjbf/_old 2018-10-25 08:23:54.055869135 +0200 +++ /var/tmp/diff_new_pack.JjGjbf/_new 2018-10-25 08:23:54.055869135 +0200 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ #
commit ghc-contravariant for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-contravariant for openSUSE:Factory checked in at 2018-07-24 17:16:25 Comparing /work/SRC/openSUSE:Factory/ghc-contravariant (Old) and /work/SRC/openSUSE:Factory/.ghc-contravariant.new (New) Package is "ghc-contravariant" Tue Jul 24 17:16:25 2018 rev:8 rq:623747 version:1.5 Changes: --- /work/SRC/openSUSE:Factory/ghc-contravariant/ghc-contravariant.changes 2018-05-30 12:25:16.538388053 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-contravariant.new/ghc-contravariant.changes 2018-07-24 17:16:33.186850190 +0200 @@ -1,0 +2,15 @@ +Wed Jul 18 14:26:19 UTC 2018 - psim...@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +--- +Fri Jul 13 14:32:00 UTC 2018 - psim...@suse.com + +- Update contravariant to version 1.5. + 1.5 [2018.07.01] + + * Support building with GHC 8.6, where `Data.Functor.Contravariant` has been +moved into `base`. + +--- @@ -49 +63,0 @@ - Old: contravariant-1.4.1.tar.gz contravariant.cabal New: contravariant-1.5.tar.gz Other differences: -- ++ ghc-contravariant.spec ++ --- /var/tmp/diff_new_pack.OVbZ4w/_old 2018-07-24 17:16:34.042851296 +0200 +++ /var/tmp/diff_new_pack.OVbZ4w/_new 2018-07-24 17:16:34.042851296 +0200 @@ -18,18 +18,16 @@ %global pkg_name contravariant Name: ghc-%{pkg_name} -Version:1.4.1 +Version:1.5 Release:0 Summary:Contravariant functors License:BSD-3-Clause Group: Development/Libraries/Haskell 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-StateVar-devel BuildRequires: ghc-rpm-macros -BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel %description @@ -48,7 +46,6 @@ %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++ contravariant-1.4.1.tar.gz -> contravariant-1.5.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.4.1/.travis.yml new/contravariant-1.5/.travis.yml --- old/contravariant-1.4.1/.travis.yml 2018-01-18 20:29:34.0 +0100 +++ new/contravariant-1.5/.travis.yml 2018-07-02 01:07:28.0 +0200 @@ -1,6 +1,6 @@ # This Travis job script has been generated by a script via # -# runghc make_travis_yml_2.hs '-o' '.travis.yml' '--irc-channel=irc.freenode.org#haskell-lens' '--no-no-tests-no-bench' '--no-installed' 'cabal.project' +# runghc make_travis_yml_2.hs '-o' '.travis.yml' '--ghc-head' '--irc-channel=irc.freenode.org#haskell-lens' '--no-no-tests-no-bench' '--no-unconstrained' 'cabal.project' # # For more information, see https://github.com/hvr/multi-ghc-travis # @@ -42,42 +42,45 @@ matrix: include: -- compiler: "ghc-7.0.4" +- compiler: "ghc-8.6.1" + env: GHCHEAD=true + addons: {apt: {packages: [*apt_packages,cabal-install-head,ghc-8.6.1], sources: [hvr-ghc]}} +- compiler: "ghc-8.4.3" # env: TEST=--disable-tests BENCH=--disable-benchmarks - addons: {apt: {packages: [*apt_packages,cabal-install-2.0,ghc-7.0.4], sources: [hvr-ghc]}} -- compiler: "ghc-7.2.2" + addons: {apt: {packages: [*apt_packages,cabal-install-2.2,ghc-8.4.3], sources: [hvr-ghc]}} +- compiler: "ghc-8.2.2" # env: TEST=--disable-tests BENCH=--disable-benchmarks - addons: {apt: {packages: [*apt_packages,cabal-install-2.0,ghc-7.2.2], sources: [hvr-ghc]}} -- compiler: "ghc-7.4.2" + addons: {apt: {packages: [*apt_packages,cabal-install-2.2,ghc-8.2.2], sources: [hvr-ghc]}} +- compiler: "ghc-8.0.2" # env: TEST=--disable-tests BENCH=--disable-benchmarks - addons: {apt: {packages: [*apt_packages,cabal-install-2.0,ghc-7.4.2], sources: [hvr-ghc]}} -- compiler: "ghc-7.6.3" + addons: {apt: {packages: [*apt_packages,cabal-install-2.2,ghc-8.0.2], sources: [hvr-ghc]}} +- compiler: "ghc-7.10.3" # env: TEST=--disable-tests BENCH=--disable-benchmarks - addons: {apt: {packages: [*apt_packages,cabal-install-2.0,ghc-7.6.3], sources: [hvr-ghc]}} + addons: {apt: {packages: [*apt_packages,cabal-install-2.2,ghc-7.10.3], sources: [hvr-ghc]}} - compiler: "ghc-7.8.4" # env: TEST=--disab
commit ghc-contravariant for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-contravariant for openSUSE:Factory checked in at 2018-05-30 12:05:26 Comparing /work/SRC/openSUSE:Factory/ghc-contravariant (Old) and /work/SRC/openSUSE:Factory/.ghc-contravariant.new (New) Package is "ghc-contravariant" Wed May 30 12:05:26 2018 rev:7 rq:607773 version:1.4.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-contravariant/ghc-contravariant.changes 2017-09-15 21:28:34.449830719 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-contravariant.new/ghc-contravariant.changes 2018-05-30 12:25:16.538388053 +0200 @@ -1,0 +2,9 @@ +Mon May 14 17:02:11 UTC 2018 - psim...@suse.com + +- Update contravariant to version 1.4.1 revision 1. + * Add `Semigroup` and `Monoid` instances for `Predicate`. + * Add lots of documentation explaining `Contravariant`, `Divisible`, and +`Decidable`. + * Fix some dodgy CPP usage that caused the build to fail on Eta. + +--- Old: contravariant-1.4.tar.gz New: contravariant-1.4.1.tar.gz contravariant.cabal Other differences: -- ++ ghc-contravariant.spec ++ --- /var/tmp/diff_new_pack.5lRVyB/_old 2018-05-30 12:25:17.218365832 +0200 +++ /var/tmp/diff_new_pack.5lRVyB/_new 2018-05-30 12:25:17.222365701 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-contravariant # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,19 @@ %global pkg_name contravariant Name: ghc-%{pkg_name} -Version:1.4 +Version:1.4.1 Release:0 Summary:Contravariant functors License:BSD-3-Clause Group: Development/Libraries/Haskell 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-StateVar-devel BuildRequires: ghc-rpm-macros -BuildRequires: ghc-semigroups-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel -BuildRequires: ghc-void-devel %description Contravariant functors. @@ -49,6 +48,7 @@ %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build @@ -63,9 +63,9 @@ %ghc_pkg_recache %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files -%doc CHANGELOG.markdown +%doc CHANGELOG.markdown README.markdown %changelog ++ contravariant-1.4.tar.gz -> contravariant-1.4.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.4/.travis.yml new/contravariant-1.4.1/.travis.yml --- old/contravariant-1.4/.travis.yml 2016-01-16 22:55:58.0 +0100 +++ new/contravariant-1.4.1/.travis.yml 2018-01-18 20:29:34.0 +0100 @@ -1,62 +1,155 @@ -# NB: don't set `language: haskell` here +# This Travis job script has been generated by a script via +# +# runghc make_travis_yml_2.hs '-o' '.travis.yml' '--irc-channel=irc.freenode.org#haskell-lens' '--no-no-tests-no-bench' '--no-installed' 'cabal.project' +# +# For more information, see https://github.com/hvr/multi-ghc-travis +# +language: c +sudo: false -# See also https://github.com/hvr/multi-ghc-travis for more information -env: - # we have to use CABALVER=1.16 for GHC<7.6 as well, as there's - # no package for earlier cabal versions in the PPA - - GHCVER=7.4.2 CABALVER=1.16 - - GHCVER=7.6.3 CABALVER=1.16 - - GHCVER=7.8.4 CABALVER=1.18 - - GHCVER=7.10.1 CABALVER=1.22 - - GHCVER=head CABALVER=1.22 +git: + submodules: false # whether to recursively clone submodules + +notifications: + irc: +channels: + - "irc.freenode.org#haskell-lens" +skip_join: true +template: + - "\x0313contravariant\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}" + +cache: + directories: +- $HOME/.cabal/packages +- $HOME/.cabal/store + +before_cache: + - rm -fv $HOME/.cabal/packages/hackage.haskell.org/build-reports.log + # remove files that are regenerated by 'cabal update' + - rm -fv $HOME/.cabal/packages/hackage.haskell.org/00-index.* + - rm -fv $HOME/.cabal/packages/hackage.haskell.org/*.json + - rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.cache + - rm -fv $HOME/.cabal/packages/hackage.haskell.org/01-index.tar + - rm -
commit ghc-contravariant for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-contravariant for openSUSE:Factory checked in at 2017-09-15 21:28:33 Comparing /work/SRC/openSUSE:Factory/ghc-contravariant (Old) and /work/SRC/openSUSE:Factory/.ghc-contravariant.new (New) Package is "ghc-contravariant" Fri Sep 15 21:28:33 2017 rev:6 rq:524331 version:1.4 Changes: --- /work/SRC/openSUSE:Factory/ghc-contravariant/ghc-contravariant.changes 2016-07-21 08:03:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-contravariant.new/ghc-contravariant.changes 2017-09-15 21:28:34.449830719 +0200 @@ -1,0 +2,5 @@ +Thu Aug 3 15:38:38 UTC 2017 - psim...@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +--- Other differences: -- ++ ghc-contravariant.spec ++ --- /var/tmp/diff_new_pack.QtpoPY/_old 2017-09-15 21:28:35.305710095 +0200 +++ /var/tmp/diff_new_pack.QtpoPY/_new 2017-09-15 21:28:35.309709532 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-contravariant # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,26 +22,23 @@ Release:0 Summary:Contravariant functors License:BSD-3-Clause -Group: System/Libraries -Url:https://hackage.haskell.org/package/%{pkg_name} +Group: Development/Libraries/Haskell +URL:https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-StateVar-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-semigroups-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-void-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -# End cabal-rpm deps %description Contravariant functors. %package devel Summary:Haskell %{pkg_name} library development files -Group: Development/Libraries/Other +Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} @@ -53,15 +50,12 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %post devel %ghc_pkg_recache @@ -69,11 +63,9 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %doc CHANGELOG.markdown %changelog
commit ghc-contravariant for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-contravariant for openSUSE:Factory checked in at 2016-07-21 08:03:36 Comparing /work/SRC/openSUSE:Factory/ghc-contravariant (Old) and /work/SRC/openSUSE:Factory/.ghc-contravariant.new (New) Package is "ghc-contravariant" Changes: --- /work/SRC/openSUSE:Factory/ghc-contravariant/ghc-contravariant.changes 2016-01-28 17:24:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-contravariant.new/ghc-contravariant.changes 2016-07-21 08:03:39.0 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:13:35 UTC 2016 - psim...@suse.com + +- Update to version 1.4 revision 0 with cabal2obs. + +--- Other differences: -- ++ ghc-contravariant.spec ++ --- /var/tmp/diff_new_pack.NfQ7VA/_old 2016-07-21 08:03:40.0 +0200 +++ /var/tmp/diff_new_pack.NfQ7VA/_new 2016-07-21 08:03:40.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-contravariant # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,54 +17,51 @@ %global pkg_name contravariant - -Name: ghc-contravariant +Name: ghc-%{pkg_name} Version:1.4 Release:0 Summary:Contravariant functors License:BSD-3-Clause Group: System/Libraries - Url:https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-StateVar-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-semigroups-devel -BuildRequires: ghc-tagged-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-void-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build # End cabal-rpm deps %description Contravariant functors. - %package devel Summary:Haskell %{pkg_name} library development files Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} -Requires: %{name} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. - %prep %setup -q -n %{pkg_name}-%{version} + %build %ghc_lib_build + %install %ghc_lib_install + %post devel %ghc_pkg_recache @@ -77,5 +74,6 @@ %files devel -f %{name}-devel.files %defattr(-,root,root,-) +%doc CHANGELOG.markdown %changelog
commit ghc-contravariant for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-contravariant for openSUSE:Factory checked in at 2016-01-28 17:23:42 Comparing /work/SRC/openSUSE:Factory/ghc-contravariant (Old) and /work/SRC/openSUSE:Factory/.ghc-contravariant.new (New) Package is "ghc-contravariant" Changes: --- /work/SRC/openSUSE:Factory/ghc-contravariant/ghc-contravariant.changes 2015-09-17 09:19:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-contravariant.new/ghc-contravariant.changes 2016-01-28 17:24:36.0 +0100 @@ -1,0 +2,7 @@ +Fri Jan 22 08:35:07 UTC 2016 - mimi...@gmail.com + +- update to 1.4 +* Improved the performance of Deciding at the cost of downgrading it to Trustworthy. +* Support for transformers 0.5 + +--- Old: contravariant-1.3.3.tar.gz New: contravariant-1.4.tar.gz Other differences: -- ++ ghc-contravariant.spec ++ --- /var/tmp/diff_new_pack.0aGwI2/_old 2016-01-28 17:24:37.0 +0100 +++ /var/tmp/diff_new_pack.0aGwI2/_new 2016-01-28 17:24:37.0 +0100 @@ -19,7 +19,7 @@ %global pkg_name contravariant Name: ghc-contravariant -Version:1.3.3 +Version:1.4 Release:0 Summary:Contravariant functors License:BSD-3-Clause @@ -34,6 +34,7 @@ # Begin cabal-rpm deps: BuildRequires: ghc-StateVar-devel BuildRequires: ghc-semigroups-devel +BuildRequires: ghc-tagged-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-void-devel ++ contravariant-1.3.3.tar.gz -> contravariant-1.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.3.3/CHANGELOG.markdown new/contravariant-1.4/CHANGELOG.markdown --- old/contravariant-1.3.3/CHANGELOG.markdown 2015-09-04 12:33:20.0 +0200 +++ new/contravariant-1.4/CHANGELOG.markdown2016-01-16 22:55:58.0 +0100 @@ -1,3 +1,9 @@ +1.4 +--- +* Improved the performance of `Deciding` at the cost of downgrading it to `Trustworthy`. +* Support for GHC 8 +* Support for `transformers` 0.5 + 1.3.3 - * Add `instance Monoid m => Divisible (Const m)` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.3.3/contravariant.cabal new/contravariant-1.4/contravariant.cabal --- old/contravariant-1.3.3/contravariant.cabal 2015-09-04 12:33:20.0 +0200 +++ new/contravariant-1.4/contravariant.cabal 2016-01-16 22:55:58.0 +0100 @@ -1,6 +1,6 @@ name: contravariant category: Control, Data -version: 1.3.3 +version: 1.4 license: BSD3 cabal-version: >= 1.6 license-file: LICENSE @@ -38,6 +38,11 @@ default: True manual: True +flag safe + description: Get Safe guarantees rather than merely Trustworthy, but with worse constant factors. + default: False + manual: True + flag StateVar description: You can disable the use of the `StateVar` package using `-f-StateVar`. @@ -50,7 +55,7 @@ hs-source-dirs: src build-depends: base < 5, -transformers>= 0.2 && < 0.5, +transformers>= 0.2 && < 0.6, transformers-compat >= 0.3 && < 1, void>= 0.6 && < 1 @@ -66,6 +71,9 @@ if impl(ghc >= 7.2 && < 7.6) build-depends: ghc-prim + if flag(safe) +cpp-options: -DSAFE + exposed-modules: Data.Functor.Contravariant Data.Functor.Contravariant.Compose diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.3.3/src/Data/Functor/Contravariant/Divisible.hs new/contravariant-1.4/src/Data/Functor/Contravariant/Divisible.hs --- old/contravariant-1.3.3/src/Data/Functor/Contravariant/Divisible.hs 2015-09-04 12:33:20.0 +0200 +++ new/contravariant-1.4/src/Data/Functor/Contravariant/Divisible.hs 2016-01-16 22:55:58.0 +0100 @@ -1,4 +1,7 @@ {-# LANGUAGE CPP #-} +{-# LANGUAGE TypeOperators #-} +{-# OPTIONS_GHC -fno-warn-deprecations #-} + - -- | -- Module : Data.Functor.Contravariant.Divisible @@ -20,18 +23,48 @@ ) where import Control.Applicative +import Control.Applicative.Backwards +import Control.Arrow +import Control.Monad.Trans.Error +import Control.Monad.Trans.Except +import Control.Monad.Trans.Identity +import Control.Monad.Trans.List +import Control.Monad.Trans.Maybe +import qualified Control.Monad.Trans.RWS.Lazy as Lazy +import qualified Control.Monad.Trans.RWS.Strict as Strict +import Control.Monad.Trans.Reader +import qualified Co
commit ghc-contravariant for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-contravariant for openSUSE:Factory checked in at 2015-09-17 09:19:13 Comparing /work/SRC/openSUSE:Factory/ghc-contravariant (Old) and /work/SRC/openSUSE:Factory/.ghc-contravariant.new (New) Package is "ghc-contravariant" Changes: --- /work/SRC/openSUSE:Factory/ghc-contravariant/ghc-contravariant.changes 2015-08-05 06:51:58.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-contravariant.new/ghc-contravariant.changes 2015-09-17 09:19:15.0 +0200 @@ -1,0 +2,6 @@ +Sun Sep 13 12:29:16 UTC 2015 - mimi...@gmail.com + +- update to 1.3.3 +* Add instance Monoid m => Divisible (Const m) + +--- Old: contravariant-1.3.2.tar.gz New: contravariant-1.3.3.tar.gz Other differences: -- ++ ghc-contravariant.spec ++ --- /var/tmp/diff_new_pack.r6ItRA/_old 2015-09-17 09:19:15.0 +0200 +++ /var/tmp/diff_new_pack.r6ItRA/_new 2015-09-17 09:19:15.0 +0200 @@ -19,7 +19,7 @@ %global pkg_name contravariant Name: ghc-contravariant -Version:1.3.2 +Version:1.3.3 Release:0 Summary:Contravariant functors License:BSD-3-Clause ++ contravariant-1.3.2.tar.gz -> contravariant-1.3.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.3.2/CHANGELOG.markdown new/contravariant-1.3.3/CHANGELOG.markdown --- old/contravariant-1.3.2/CHANGELOG.markdown 2015-07-30 00:20:35.0 +0200 +++ new/contravariant-1.3.3/CHANGELOG.markdown 2015-09-04 12:33:20.0 +0200 @@ -1,3 +1,7 @@ +1.3.3 +- +* Add `instance Monoid m => Divisible (Const m)` + 1.3.2 - * Add `($<)` operator diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.3.2/contravariant.cabal new/contravariant-1.3.3/contravariant.cabal --- old/contravariant-1.3.2/contravariant.cabal 2015-07-30 00:20:35.0 +0200 +++ new/contravariant-1.3.3/contravariant.cabal 2015-09-04 12:33:20.0 +0200 @@ -1,6 +1,6 @@ name: contravariant category: Control, Data -version: 1.3.2 +version: 1.3.3 license: BSD3 cabal-version: >= 1.6 license-file: LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.3.2/src/Data/Functor/Contravariant/Divisible.hs new/contravariant-1.3.3/src/Data/Functor/Contravariant/Divisible.hs --- old/contravariant-1.3.2/src/Data/Functor/Contravariant/Divisible.hs 2015-07-30 00:20:35.0 +0200 +++ new/contravariant-1.3.3/src/Data/Functor/Contravariant/Divisible.hs 2015-09-04 12:33:20.0 +0200 @@ -19,6 +19,7 @@ , Decidable(..), chosen, lost ) where +import Control.Applicative import Data.Functor.Contravariant #if __GLASGOW_HASKELL__ < 710 @@ -130,6 +131,10 @@ (b, c) -> g b && h c conquer = Predicate $ const True +instance Monoid m => Divisible (Const m) where + divide _ (Const a) (Const b) = Const (mappend a b) + conquer = Const mempty + #if MIN_VERSION_StateVar instance Divisible SettableStateVar where divide k (SettableStateVar l) (SettableStateVar r) = SettableStateVar $ \ a -> case k a of @@ -148,8 +153,8 @@ -- source to the Cartesian product of the target. -- -- @ --- 'choose' Left m ('lose' f) = m --- 'choose' Right ('lose' f) m = m +-- 'choose' 'Left' m ('lose' f) = m +-- 'choose' 'Right' ('lose' f) m = m -- 'choose' f ('choose' g m n) o = 'divide' f' m ('divide' 'id' n o) where -- f' bcd = 'either' ('either' 'id' ('Right' . 'Left') . g) ('Right' . 'Right') . f -- @ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.3.2/src/Data/Functor/Contravariant.hs new/contravariant-1.3.3/src/Data/Functor/Contravariant.hs --- old/contravariant-1.3.2/src/Data/Functor/Contravariant.hs 2015-07-30 00:20:35.0 +0200 +++ new/contravariant-1.3.3/src/Data/Functor/Contravariant.hs 2015-09-04 12:33:20.0 +0200 @@ -22,6 +22,8 @@ #endif #endif +{-# OPTIONS_GHC -fno-warn-deprecations #-} + - -- | -- Module : Data.Functor.Contravariant @@ -66,6 +68,19 @@ import Control.Category +import Control.Monad.Trans.Error +import Control.Monad.Trans.Except +import Control.Monad.Trans.Identity +import Control.Monad.Trans.List +import Control.Monad.Trans.Maybe +import qualified Control.Monad.Trans.RWS.Lazy as Lazy +import qualified Control.Monad.Trans.RWS.Strict as Strict +import Control.Monad.Trans.Reader +import qualified Control.Monad.Trans.State.
commit ghc-contravariant for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-contravariant for openSUSE:Factory checked in at 2015-08-05 06:51:55 Comparing /work/SRC/openSUSE:Factory/ghc-contravariant (Old) and /work/SRC/openSUSE:Factory/.ghc-contravariant.new (New) Package is "ghc-contravariant" Changes: --- /work/SRC/openSUSE:Factory/ghc-contravariant/ghc-contravariant.changes 2015-05-21 08:35:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-contravariant.new/ghc-contravariant.changes 2015-08-05 06:51:58.0 +0200 @@ -1,0 +2,6 @@ +Tue Aug 4 05:38:23 UTC 2015 - mimi...@gmail.com + +- update to 1.3.2 +* Add ($<) operator + +--- Old: contravariant-1.3.1.1.tar.gz New: contravariant-1.3.2.tar.gz Other differences: -- ++ ghc-contravariant.spec ++ --- /var/tmp/diff_new_pack.eRWRWw/_old 2015-08-05 06:51:58.0 +0200 +++ /var/tmp/diff_new_pack.eRWRWw/_new 2015-08-05 06:51:58.0 +0200 @@ -19,7 +19,7 @@ %global pkg_name contravariant Name: ghc-contravariant -Version:1.3.1.1 +Version:1.3.2 Release:0 Summary:Contravariant functors License:BSD-3-Clause ++ contravariant-1.3.1.1.tar.gz -> contravariant-1.3.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.3.1.1/CHANGELOG.markdown new/contravariant-1.3.2/CHANGELOG.markdown --- old/contravariant-1.3.1.1/CHANGELOG.markdown2015-05-07 10:59:41.0 +0200 +++ new/contravariant-1.3.2/CHANGELOG.markdown 2015-07-30 00:20:35.0 +0200 @@ -1,3 +1,7 @@ +1.3.2 +- +* Add `($<)` operator + 1.3.1.1 --- * Fixed builds on GHC 7.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.3.1.1/contravariant.cabal new/contravariant-1.3.2/contravariant.cabal --- old/contravariant-1.3.1.1/contravariant.cabal 2015-05-07 10:59:41.0 +0200 +++ new/contravariant-1.3.2/contravariant.cabal 2015-07-30 00:20:35.0 +0200 @@ -1,6 +1,6 @@ name: contravariant category: Control, Data -version: 1.3.1.1 +version: 1.3.2 license: BSD3 cabal-version: >= 1.6 license-file: LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/contravariant-1.3.1.1/src/Data/Functor/Contravariant.hs new/contravariant-1.3.2/src/Data/Functor/Contravariant.hs --- old/contravariant-1.3.1.1/src/Data/Functor/Contravariant.hs 2015-05-07 10:59:41.0 +0200 +++ new/contravariant-1.3.2/src/Data/Functor/Contravariant.hs 2015-07-30 00:20:35.0 +0200 @@ -43,7 +43,7 @@ , phantom -- * Operators - , (>$<), (>$$<) + , (>$<), (>$$<), ($<) -- * Predicates , Predicate(..) @@ -90,8 +90,6 @@ import Data.Proxy #endif -import Data.Void - #ifdef MIN_VERSION_StateVar import Data.StateVar #endif @@ -132,9 +130,14 @@ -- 'contramap' f ≡ 'phantom' -- @ phantom :: (Functor f, Contravariant f) => f a -> f b -phantom x = absurd <$> contramap absurd x +phantom x = () <$ x $< () + +infixl 4 >$, $<, >$<, >$$< -infixl 4 >$, >$<, >$$< +-- | This is '>$' with its arguments flipped. +($<) :: Contravariant f => f b -> b -> f a +($<) = flip (>$) +{-# INLINE ($<) #-} -- | This is an infix alias for 'contramap' (>$<) :: Contravariant f => (a -> b) -> f b -> f a
commit ghc-contravariant for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-contravariant for openSUSE:Factory checked in at 2015-05-21 08:35:53 Comparing /work/SRC/openSUSE:Factory/ghc-contravariant (Old) and /work/SRC/openSUSE:Factory/.ghc-contravariant.new (New) Package is "ghc-contravariant" Changes: New Changes file: --- /dev/null 2015-05-15 19:41:08.266053825 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-contravariant.new/ghc-contravariant.changes 2015-05-21 08:35:54.0 +0200 @@ -0,0 +1,11 @@ +--- +Sun May 10 18:16:04 UTC 2015 - mimi...@gmail.com + +- update to 1.3.1.1 +* Fix builds + +--- +Sun Apr 26 16:47:46 UTC 2015 - mimi...@gmail.com + +- initial commit + New: contravariant-1.3.1.1.tar.gz ghc-contravariant.changes ghc-contravariant.spec Other differences: -- ++ ghc-contravariant.spec ++ # # spec file for package ghc-contravariant # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %global pkg_name contravariant Name: ghc-contravariant Version:1.3.1.1 Release:0 Summary:Contravariant functors License:BSD-3-Clause Group: System/Libraries Url:https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-StateVar-devel BuildRequires: ghc-semigroups-devel BuildRequires: ghc-transformers-compat-devel BuildRequires: ghc-transformers-devel BuildRequires: ghc-void-devel # End cabal-rpm deps %description Contravariant functors. %package devel Summary:Haskell %{pkg_name} library development files Group: Development/Libraries/Other Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} Requires: %{name} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} %build %ghc_lib_build %install %ghc_lib_install %post devel %ghc_pkg_recache %postun devel %ghc_pkg_recache %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files %defattr(-,root,root,-) %changelog