From 2b62660472e112e9e8b397ab3ee457213d53d054fd8b89d2f79466e3403d6d5d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 21 Dec 2017 19:47:56 +0000 Subject: [PATCH 1/7] osc copypac from project:devel:languages:haskell:lts:10 package:ghc-either revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-either?expand=0&rev=23 --- either-4.4.1.1.tar.gz | 3 --- either-4.5.tar.gz | 3 +++ either.cabal | 50 ------------------------------------------- ghc-either.changes | 6 ++++++ ghc-either.spec | 4 +--- 5 files changed, 10 insertions(+), 56 deletions(-) delete mode 100644 either-4.4.1.1.tar.gz create mode 100644 either-4.5.tar.gz delete mode 100644 either.cabal diff --git a/either-4.4.1.1.tar.gz b/either-4.4.1.1.tar.gz deleted file mode 100644 index 0cdb8e2..0000000 --- a/either-4.4.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b087cb0fb63fec2fbdcac05fef0d03751daef5deb86cda3c732b9a6a31e634d3 -size 9376 diff --git a/either-4.5.tar.gz b/either-4.5.tar.gz new file mode 100644 index 0000000..5c74271 --- /dev/null +++ b/either-4.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ecfb0f4ba8594153db1329b5ca0de08b152dc4cc4326a20e1cfad1bbae41f2d7 +size 10714 diff --git a/either.cabal b/either.cabal deleted file mode 100644 index 084088a..0000000 --- a/either.cabal +++ /dev/null @@ -1,50 +0,0 @@ -name: either -category: Control, Monads -version: 4.4.1.1 -x-revision: 2 -license: BSD3 -cabal-version: >= 1.6 -license-file: LICENSE -author: Edward A. Kmett -maintainer: Edward A. Kmett -stability: provisional -homepage: http://github.com/ekmett/either/ -bug-reports: http://github.com/ekmett/either/issues -copyright: Copyright (C) 2008-2014 Edward A. Kmett -synopsis: An either monad transformer -description: An either monad transformer -build-type: Simple -extra-source-files: - .gitignore - .ghci - .vim.custom - .travis.yml - CHANGELOG.markdown - README.markdown - -source-repository head - type: git - location: git://github.com/ekmett/either.git - -library - build-depends: - base >= 4 && < 5, - bifunctors >= 4 && < 6, - exceptions >= 0.5 && < 0.9, - free >= 4.9 && < 5, - monad-control >= 0.3.2 && < 1.1, - MonadRandom >= 0.1 && < 0.6, - mtl >= 2.0 && < 2.3, - mmorph >= 1.0.0 && < 1.2, - profunctors >= 4 && < 6, - semigroups >= 0.8.3.1 && < 1, - semigroupoids >= 4 && < 6, - transformers >= 0.2 && < 0.6, - transformers-base >= 0.4 && < 0.5 - - extensions: CPP - exposed-modules: Control.Monad.Trans.Either - Data.Either.Combinators - Data.Either.Validation - ghc-options: -Wall - hs-source-dirs: src diff --git a/ghc-either.changes b/ghc-either.changes index 77cae70..1e0bee7 100644 --- a/ghc-either.changes +++ b/ghc-either.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 21 19:12:26 UTC 2017 - psimons@suse.com + +- Update to version 4.5. + A more detailed change log is not available. + ------------------------------------------------------------------- Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com diff --git a/ghc-either.spec b/ghc-either.spec index a20d990..64d5fa3 100644 --- a/ghc-either.spec +++ b/ghc-either.spec @@ -18,14 +18,13 @@ %global pkg_name either Name: ghc-%{pkg_name} -Version: 4.4.1.1 +Version: 4.5 Release: 0 Summary: An either monad transformer 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/2.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-MonadRandom-devel BuildRequires: ghc-bifunctors-devel @@ -57,7 +56,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build From f879fe8c5c9ead4d9becb03e8dd559c7d2986cc3aec820ea39892439025a14aa Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 2 Apr 2018 14:54:41 +0000 Subject: [PATCH 2/7] osc copypac from project:devel:languages:haskell:lts:11 package:ghc-either revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-either?expand=0&rev=24 --- either-4.5.tar.gz | 3 --- either-5.tar.gz | 3 +++ ghc-either.changes | 55 ++-------------------------------------------- ghc-either.spec | 22 +++++++++---------- 4 files changed, 16 insertions(+), 67 deletions(-) delete mode 100644 either-4.5.tar.gz create mode 100644 either-5.tar.gz diff --git a/either-4.5.tar.gz b/either-4.5.tar.gz deleted file mode 100644 index 5c74271..0000000 --- a/either-4.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ecfb0f4ba8594153db1329b5ca0de08b152dc4cc4326a20e1cfad1bbae41f2d7 -size 10714 diff --git a/either-5.tar.gz b/either-5.tar.gz new file mode 100644 index 0000000..3523d36 --- /dev/null +++ b/either-5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75cee27641a34f80e6c71f82469a76c7f51d23a522e792e2733269ebf7cbf420 +size 8637 diff --git a/ghc-either.changes b/ghc-either.changes index 1e0bee7..10b2ca5 100644 --- a/ghc-either.changes +++ b/ghc-either.changes @@ -1,57 +1,6 @@ ------------------------------------------------------------------- -Thu Dec 21 19:12:26 UTC 2017 - psimons@suse.com +Wed Mar 14 16:57:01 UTC 2018 - psimons@suse.com -- Update to version 4.5. +- Update either to version 5. A more detailed change log is not available. -------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com - -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Mon May 22 08:08:50 UTC 2017 - psimons@suse.com - -- Update to version 4.4.1.1 revision 2 with cabal2obs. - -------------------------------------------------------------------- -Wed Jan 4 21:24:48 UTC 2017 - psimons@suse.com - -- Update to version 4.4.1.1 revision 1 with cabal2obs. - -------------------------------------------------------------------- -Sun Jul 10 17:04:19 UTC 2016 - psimons@suse.com - -- Update to version 4.4.1.1 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Wed May 11 15:13:10 UTC 2016 - mimi.vx@gmail.com - -- update to 4.4.1.1 -* Fixed building on newer GHCs. (type synonyms require explicit foralls for unused - variables these days) - -------------------------------------------------------------------- -Fri Aug 7 06:57:35 UTC 2015 - mimi.vx@gmail.com - -- update to 4.4.1 -* Support mmorph - -------------------------------------------------------------------- -Sun May 31 20:28:19 UTC 2015 - mimi.vx@gmail.com - -- update to 4.3.4.1 -* Support `MonadRandom` 0.4 - -------------------------------------------------------------------- -Sun May 17 15:21:44 UTC 2015 - mimi.vx@gmail.com - -- update to 4.3.4 -* Support `bifunctors` 5, `profunctors` 5, and `semigroupoids` 5. -* Fixed and enhanced documentation for `eitherToError`. - -------------------------------------------------------------------- -Sun Apr 26 17:54:38 UTC 2015 - mimi.vx@gmail.com - -- initial commit - diff --git a/ghc-either.spec b/ghc-either.spec index 64d5fa3..12ed55a 100644 --- a/ghc-either.spec +++ b/ghc-either.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-either # -# 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 @@ -17,31 +17,28 @@ %global pkg_name either +%bcond_with tests Name: ghc-%{pkg_name} -Version: 4.5 +Version: 5 Release: 0 -Summary: An either monad transformer +Summary: Combinators for working with sums 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 -BuildRequires: ghc-MonadRandom-devel BuildRequires: ghc-bifunctors-devel -BuildRequires: ghc-exceptions-devel -BuildRequires: ghc-free-devel -BuildRequires: ghc-mmorph-devel -BuildRequires: ghc-monad-control-devel BuildRequires: ghc-mtl-devel BuildRequires: ghc-profunctors-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-semigroupoids-devel BuildRequires: ghc-semigroups-devel -BuildRequires: ghc-transformers-base-devel -BuildRequires: ghc-transformers-devel +%if %{with tests} +BuildRequires: ghc-hedgehog-devel +%endif %description -An either monad transformer. +Combinators for working with sums. %package devel Summary: Haskell %{pkg_name} library development files @@ -63,6 +60,9 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +%check +%cabal_test + %post devel %ghc_pkg_recache From 8f4a00394d3de2f5a91b130a0e5e9fe660981eb5814fa44a35beb42680d39337 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 13 Apr 2018 13:37:40 +0000 Subject: [PATCH 3/7] osc copypac from project:devel:languages:haskell:lts:11 package:ghc-either revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-either?expand=0&rev=25 --- ghc-either.changes | 53 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/ghc-either.changes b/ghc-either.changes index 10b2ca5..af6fd7c 100644 --- a/ghc-either.changes +++ b/ghc-either.changes @@ -1,6 +1,57 @@ ------------------------------------------------------------------- -Wed Mar 14 16:57:01 UTC 2018 - psimons@suse.com +Thu Apr 12 08:32:00 UTC 2018 - psimons@suse.com - Update either to version 5. A more detailed change log is not available. +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Mon May 22 08:08:50 UTC 2017 - psimons@suse.com + +- Update to version 4.4.1.1 revision 2 with cabal2obs. + +------------------------------------------------------------------- +Wed Jan 4 21:24:48 UTC 2017 - psimons@suse.com + +- Update to version 4.4.1.1 revision 1 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 10 17:04:19 UTC 2016 - psimons@suse.com + +- Update to version 4.4.1.1 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Wed May 11 15:13:10 UTC 2016 - mimi.vx@gmail.com + +- update to 4.4.1.1 +* Fixed building on newer GHCs. (type synonyms require explicit foralls for unused + variables these days) + +------------------------------------------------------------------- +Fri Aug 7 06:57:35 UTC 2015 - mimi.vx@gmail.com + +- update to 4.4.1 +* Support mmorph + +------------------------------------------------------------------- +Sun May 31 20:28:19 UTC 2015 - mimi.vx@gmail.com + +- update to 4.3.4.1 +* Support `MonadRandom` 0.4 + +------------------------------------------------------------------- +Sun May 17 15:21:44 UTC 2015 - mimi.vx@gmail.com + +- update to 4.3.4 +* Support `bifunctors` 5, `profunctors` 5, and `semigroupoids` 5. +* Fixed and enhanced documentation for `eitherToError`. + +------------------------------------------------------------------- +Sun Apr 26 17:54:38 UTC 2015 - mimi.vx@gmail.com + +- initial commit + From d16d55cf3b41f3bed391576febe3b50813fa9c80db0d4c43a88cfbc6f0652ba7 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 26 Apr 2018 07:19:52 +0000 Subject: [PATCH 4/7] osc copypac from project:devel:languages:haskell:lts:11 package:ghc-either revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-either?expand=0&rev=26 --- ghc-either.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-either.spec b/ghc-either.spec index 12ed55a..8875cd6 100644 --- a/ghc-either.spec +++ b/ghc-either.spec @@ -70,7 +70,7 @@ This package provides the Haskell %{pkg_name} library development files. %ghc_pkg_recache %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files %doc CHANGELOG.markdown README.markdown From fc4f47368b1d965cf4cb4dfa9bc13f0d3a5adc4dd4953c5df872f5f0233c7220 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 14 May 2018 13:16:50 +0000 Subject: [PATCH 5/7] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-either revision:1, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-either?expand=0&rev=27 --- ghc-either.changes | 57 ---------------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 ghc-either.changes diff --git a/ghc-either.changes b/ghc-either.changes deleted file mode 100644 index af6fd7c..0000000 --- a/ghc-either.changes +++ /dev/null @@ -1,57 +0,0 @@ -------------------------------------------------------------------- -Thu Apr 12 08:32:00 UTC 2018 - psimons@suse.com - -- Update either to version 5. - A more detailed change log is not available. - -------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com - -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Mon May 22 08:08:50 UTC 2017 - psimons@suse.com - -- Update to version 4.4.1.1 revision 2 with cabal2obs. - -------------------------------------------------------------------- -Wed Jan 4 21:24:48 UTC 2017 - psimons@suse.com - -- Update to version 4.4.1.1 revision 1 with cabal2obs. - -------------------------------------------------------------------- -Sun Jul 10 17:04:19 UTC 2016 - psimons@suse.com - -- Update to version 4.4.1.1 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Wed May 11 15:13:10 UTC 2016 - mimi.vx@gmail.com - -- update to 4.4.1.1 -* Fixed building on newer GHCs. (type synonyms require explicit foralls for unused - variables these days) - -------------------------------------------------------------------- -Fri Aug 7 06:57:35 UTC 2015 - mimi.vx@gmail.com - -- update to 4.4.1 -* Support mmorph - -------------------------------------------------------------------- -Sun May 31 20:28:19 UTC 2015 - mimi.vx@gmail.com - -- update to 4.3.4.1 -* Support `MonadRandom` 0.4 - -------------------------------------------------------------------- -Sun May 17 15:21:44 UTC 2015 - mimi.vx@gmail.com - -- update to 4.3.4 -* Support `bifunctors` 5, `profunctors` 5, and `semigroupoids` 5. -* Fixed and enhanced documentation for `eitherToError`. - -------------------------------------------------------------------- -Sun Apr 26 17:54:38 UTC 2015 - mimi.vx@gmail.com - -- initial commit - From 4163b59f726adfd4580e5d8d70ba77910c32f3c4932f45fad301437c63189286 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 14 May 2018 15:20:26 +0000 Subject: [PATCH 6/7] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-either revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-either?expand=0&rev=28 --- ghc-either.changes | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 ghc-either.changes diff --git a/ghc-either.changes b/ghc-either.changes new file mode 100644 index 0000000..77cae70 --- /dev/null +++ b/ghc-either.changes @@ -0,0 +1,51 @@ +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Mon May 22 08:08:50 UTC 2017 - psimons@suse.com + +- Update to version 4.4.1.1 revision 2 with cabal2obs. + +------------------------------------------------------------------- +Wed Jan 4 21:24:48 UTC 2017 - psimons@suse.com + +- Update to version 4.4.1.1 revision 1 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 10 17:04:19 UTC 2016 - psimons@suse.com + +- Update to version 4.4.1.1 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Wed May 11 15:13:10 UTC 2016 - mimi.vx@gmail.com + +- update to 4.4.1.1 +* Fixed building on newer GHCs. (type synonyms require explicit foralls for unused + variables these days) + +------------------------------------------------------------------- +Fri Aug 7 06:57:35 UTC 2015 - mimi.vx@gmail.com + +- update to 4.4.1 +* Support mmorph + +------------------------------------------------------------------- +Sun May 31 20:28:19 UTC 2015 - mimi.vx@gmail.com + +- update to 4.3.4.1 +* Support `MonadRandom` 0.4 + +------------------------------------------------------------------- +Sun May 17 15:21:44 UTC 2015 - mimi.vx@gmail.com + +- update to 4.3.4 +* Support `bifunctors` 5, `profunctors` 5, and `semigroupoids` 5. +* Fixed and enhanced documentation for `eitherToError`. + +------------------------------------------------------------------- +Sun Apr 26 17:54:38 UTC 2015 - mimi.vx@gmail.com + +- initial commit + From dc2b0bd48c6e8d4f46fdd285a7105a193093ee152cf5d667ac82757543c6bf4d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 15 May 2018 18:23:45 +0000 Subject: [PATCH 7/7] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-either revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-either?expand=0&rev=29 --- ghc-either.changes | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ghc-either.changes b/ghc-either.changes index 77cae70..6be85c4 100644 --- a/ghc-either.changes +++ b/ghc-either.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon May 14 17:02:11 UTC 2018 - psimons@suse.com + +- Update either to version 5. + * Changed the semantics of the `Validation` `Alt` and `Alternative` instances to collect errors. + The previous implementation did not correctly abide the laws. + * Added `vap`, for when users want validation like semantics but don't want to convert back and forth to validation all the time. Similarly, added `ealt` to give either's `Alt` semantics to validation. + * Dropped the deprecated `Control.Monad.Trans.Either`. Use `Control.Monad.Trans.Except` from `transformers` and/or + `transformers-compat` instead. + * Add `MMonad` instance for `EitherT` + * Deprecate `Control.Monad.Trans.Either` in favor of `Control.Monad.Trans.Except` + * Add `firstEitherT` + ------------------------------------------------------------------- Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com