SHA256
1
0
forked from pool/ghc-lens

osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-lens revision:14, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-lens?expand=0&rev=59
This commit is contained in:
Peter Simons 2023-09-01 17:03:15 +00:00 committed by Git OBS Bridge
parent 8d9dc2f0a9
commit 2a5a1bb327
5 changed files with 39 additions and 11 deletions

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Sun Aug 27 15:30:05 UTC 2023 - Peter Simons <psimons@suse.com>
- Update lens to version 5.2.3 revision 1.
5.2.3 [2023.08.24]
------------------
* Allow building with GHC 9.8.
* Add new `Prism`s to `Language.Haskell.TH.Lens` to reflect recent additions to
`template-haskell`:
* `_GetFieldE` and `_ProjectionE` `Prism`s for the `Exp` data type, whose
corresponding data constructors were introduced in
`template-haskell-2.18.*`.
* `_TypedBracketE` and `_TypedSpliceE` `Prism`s for the `Exp` data type, whose
corresponding data constructors were introduced in
`template-haskell-2.21.*`.
* `_BndrReq` and `_BndrInvis` `Prism`s for the `BndrVis` data type, which was
added in `template-haskell-2.21.*`.
* Add a `generateRecordSyntax` option to `Control.Lens.TH`, which controls
whether to generate lenses using record update syntax or not. By default, this
option is disabled.
* Fix a bug in which the `declare*` Template Haskell functions would fail if a
data type's field has a type that is defined in the same Template Haskell
quotation.
* Add `altOf`, which collects targets into any `Alternative`.
-------------------------------------------------------------------
Mon Jul 10 00:43:25 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -20,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 5.2.2
Version: 5.2.3
Release: 0
Summary: Lenses, Folds and Traversals
License: BSD-2-Clause

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:855c58c51935bd86e61c5886862fb36cb2dc4c63240d96d93c538e8f54ff76e3
size 700966

3
lens-5.2.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df1e8ca8dd89d884994e0c80761a972088326fa43ed5d47c01b14abb710b994d
size 703220

View File

@ -1,6 +1,6 @@
name: lens
category: Data, Lenses, Generics
version: 5.2.2
version: 5.2.3
x-revision: 1
license: BSD2
cabal-version: 1.18
@ -20,9 +20,10 @@ tested-with: GHC == 8.0.2
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.6
, GHC == 9.4.4
, GHC == 9.6.1
, GHC == 9.2.8
, GHC == 9.4.5
, GHC == 9.6.2
, GHC == 9.8.1
synopsis: Lenses, Folds and Traversals
description:
This package comes \"Batteries Included\" with many useful lenses for the types
@ -199,9 +200,9 @@ library
semigroupoids >= 5.0.1 && < 7,
strict >= 0.4 && < 0.6,
tagged >= 0.8.6 && < 1,
template-haskell >= 2.11.1.0 && < 2.21,
text >= 1.2.3.0 && < 2.1,
th-abstraction >= 0.4.1 && < 0.6,
template-haskell >= 2.11.1.0 && < 2.22,
text >= 1.2.3.0 && < 2.2,
th-abstraction >= 0.4.1 && < 0.7,
these >= 1.1.1.1 && < 1.3,
transformers >= 0.5.0.0 && < 0.7,
transformers-compat >= 0.5.0.4 && < 1,
@ -230,6 +231,7 @@ library
Control.Lens.Internal.Context
Control.Lens.Internal.CTypes
Control.Lens.Internal.Deque
Control.Lens.Internal.Doctest
Control.Lens.Internal.Exception
Control.Lens.Internal.FieldTH
Control.Lens.Internal.PrismTH
@ -327,6 +329,7 @@ test-suite templates
type: exitcode-stdio-1.0
main-is: templates.hs
other-modules:
BigRecord
T799
T917
T972