Accepting request 1231455 from devel:languages:haskell
version update for ghc-9.10.1 OBS-URL: https://build.opensuse.org/request/show/1231455 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-lens?expand=0&rev=29
This commit is contained in:
@@ -1,3 +1,48 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 5 15:12:02 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update lens to version 5.3.2 revision 2.
|
||||
5.3.2 [2024.05.12]
|
||||
------------------
|
||||
* Define the following lenses that perform an operation and result the old
|
||||
result:
|
||||
* `(<<<>:~)` (prepend to the front via `(<>)` and return the old result)
|
||||
* `(<<<|~)` (prepend to the front via `(<|)` and return the old result)
|
||||
* `(<<|>~)` (append to the back via `(|>)` and return the old result)
|
||||
|
||||
Each of these also has a variant that end with `=` instead of `~` (e.g.,
|
||||
`(<<<>:=)`) for working in a `MonadState` setting.
|
||||
* Re-export `(<>:~)`, `(<<>:~)`, `(<|~)`, `(<<|~)`, `(|>~)`, and `(<|>~)` (as
|
||||
well as their variants which end with `=` instead of `~`, and their variants
|
||||
which return the old result) from `Control.Lens.Operators`.
|
||||
|
||||
5.3.1 [2024.05.05]
|
||||
------------------
|
||||
* Add a `Magnify` instance for the CPS variant of `RWST` when building with
|
||||
`mtl-2.3` or later.
|
||||
|
||||
5.3 [2024.05.04]
|
||||
----------------
|
||||
* Allow building with GHC 9.10.
|
||||
* Update the `Prism`s in `Language.Haskell.TH.Lens` to reflect additions to
|
||||
`template-haskell-2.22.0.0`:
|
||||
* The `_InfixD` `Prism` now focuses on `(Fixity, NamespaceSpecifier, Name)`
|
||||
when building with `template-haskell-2.22.0.0` or later.
|
||||
* Add `Prism`s for the newly introduced `NamespaceSpecifier` data type.
|
||||
* Add `_TypeP` and `_InvisP` `Prism`s for the `Pat` data type.
|
||||
* Add a `_TypeE` `Prism` for the `Exp` data type.
|
||||
* Add a `_SCCP` `Prism` for the `Pragma` data type.
|
||||
* Add the following `Setter`s for prepending and appending elements:
|
||||
* `(<>:~)`: prepend an element to the front via `(<>)`.
|
||||
* `(<<>:~)`: prepend an element to the front via `(<>)` and return the result.
|
||||
* `(<|~)`: cons an element to the front via `(<|)`.
|
||||
* `(<<|~)`: cons an element to the front via `(<|)` and return the result.
|
||||
* `(|>~)`: snoc an element to the back via `(|>)`.
|
||||
* `(<|>~)`: snoc an element to the back via `(|>)` and return the result.
|
||||
|
||||
Each of these also has a variant that end with `=` instead of `~` (e.g.,
|
||||
`(<>:=)`) for working in a `MonadState` setting.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 30 16:00:18 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||
|
||||
|
@@ -20,13 +20,13 @@
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 5.2.3
|
||||
Version: 5.3.2
|
||||
Release: 0
|
||||
Summary: Lenses, Folds and Traversals
|
||||
License: BSD-2-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/5.cabal#/%{pkg_name}.cabal
|
||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-array-devel
|
||||
BuildRequires: ghc-array-prof
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:df1e8ca8dd89d884994e0c80761a972088326fa43ed5d47c01b14abb710b994d
|
||||
size 703220
|
3
lens-5.3.2.tar.gz
Normal file
3
lens-5.3.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ff13bc0666e28b4cb1f8ba34551f66f042f5f3928b764ea18b885034bc7f4998
|
||||
size 705371
|
16
lens.cabal
16
lens.cabal
@@ -1,7 +1,7 @@
|
||||
name: lens
|
||||
category: Data, Lenses, Generics
|
||||
version: 5.2.3
|
||||
x-revision: 5
|
||||
version: 5.3.2
|
||||
x-revision: 2
|
||||
license: BSD2
|
||||
cabal-version: 1.18
|
||||
license-file: LICENSE
|
||||
@@ -21,9 +21,10 @@ tested-with: GHC == 8.0.2
|
||||
, GHC == 8.10.7
|
||||
, GHC == 9.0.2
|
||||
, GHC == 9.2.8
|
||||
, GHC == 9.4.5
|
||||
, GHC == 9.6.2
|
||||
, GHC == 9.8.1
|
||||
, GHC == 9.4.8
|
||||
, GHC == 9.6.4
|
||||
, GHC == 9.8.2
|
||||
, GHC == 9.10.1
|
||||
synopsis: Lenses, Folds and Traversals
|
||||
description:
|
||||
This package comes \"Batteries Included\" with many useful lenses for the types
|
||||
@@ -189,7 +190,7 @@ library
|
||||
filepath >= 1.2.0.0 && < 1.6,
|
||||
free >= 5.1.5 && < 6,
|
||||
ghc-prim,
|
||||
hashable >= 1.2.7.0 && < 1.5,
|
||||
hashable >= 1.2.7.0 && < 1.6,
|
||||
indexed-traversable >= 0.1 && < 0.2,
|
||||
indexed-traversable-instances >= 0.1 && < 0.2,
|
||||
kan-extensions >= 5 && < 6,
|
||||
@@ -200,7 +201,7 @@ library
|
||||
semigroupoids >= 5.0.1 && < 7,
|
||||
strict >= 0.4 && < 0.6,
|
||||
tagged >= 0.8.6 && < 1,
|
||||
template-haskell >= 2.11.1.0 && < 2.22,
|
||||
template-haskell >= 2.11.1.0 && < 2.23,
|
||||
text >= 1.2.3.0 && < 2.2,
|
||||
th-abstraction >= 0.4.1 && < 0.8,
|
||||
these >= 1.1.1.1 && < 1.3,
|
||||
@@ -410,7 +411,6 @@ benchmark plated
|
||||
default-language: Haskell2010
|
||||
build-depends:
|
||||
base,
|
||||
base-compat >=0.11.0 && <0.15,
|
||||
comonad,
|
||||
criterion,
|
||||
deepseq,
|
||||
|
Reference in New Issue
Block a user