hs-lens: update to 5.2.

5.2 [2022.08.11]
----------------
* Allow building with GHC 9.4.
* The type of `universeOf` has changed:

  ```diff
  -universeOf :: Getting       [a]  a a -> a -> [a]
  +universeOf :: Getting (Endo [a]) a a -> a -> [a]
  ```

  In many cases, using `Endo [a]` over `[a]` improves performance. Most call
  sites to `universeOf` will not be affected by this change, although you may
  need to update your code if you define your own combinators in terms of
  `universeOf`.
* Allow `makeWrapped` to accept the names of data constructors. This way,
  `makeWrapped` can be used with data family instances, much like other
  functions in `Control.Lens.TH`.
* Define `_OpaqueP`, `_DefaultD`, `_LamCasesE`, `_PromotedInfixT`, and
  `_PromotedUInfixT` in `Language.Haskell.TH.Lens` when building with
  `template-haskell-2.19.0.0` (GHC 9.4) or later.

5.1.1 [2022.05.17]
------------------
* Add `Data.HashSet.Lens.hashMap`, an `Iso` between a `HashSet a` and a
  `HashMap a ()`.
* Allow building with `transformers-0.6.*` and `mtl-2.3.*`.

  Note that `lens` no longer defines `Zoom` instances for `ErrorT` or `ListT`
  when building with `mtl-2.3` or later. This is because `MonadState` is a
  superclass of `Zoom`, and the `MonadState` instances for `ErrorT` and `ListT`
  were removed in `mtl-2.3`. Be watchful of this if you build `lens` with
  `mtl-2.3` (or later) combined with an older version of `transformers`
  (pre-`0.6`) that defines `ErrorT` or `ListT`.
This commit is contained in:
wiz 2022-08-23 12:16:25 +00:00
parent 3389a5a75c
commit 8a1824d1ca
2 changed files with 6 additions and 7 deletions

View file

@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.3 2022/08/20 08:08:17 wiz Exp $
# $NetBSD: Makefile,v 1.4 2022/08/23 12:16:25 wiz Exp $
DISTNAME= lens-5.1
PKGREVISION= 2
DISTNAME= lens-5.2
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1 2022/02/16 10:00:52 pho Exp $
$NetBSD: distinfo,v 1.2 2022/08/23 12:16:25 wiz Exp $
BLAKE2s (lens-5.1.tar.gz) = 33fc0c48acf0cd2f4a043520ec95b3da9072798505639620b3046a4052fa7a6e
SHA512 (lens-5.1.tar.gz) = 918683ee9cee40c00843dcc70ec7dc6a60f6638bc1d16303925dd575ea7e859082f4913e5d6d94fd378064f793d563191a4dcb7e5305831a696e620900da5a81
Size (lens-5.1.tar.gz) = 697295 bytes
BLAKE2s (lens-5.2.tar.gz) = 565bdde94806a00fa251e33d40db8c9d4523792f1917c6d5cff5e048474bfd43
SHA512 (lens-5.2.tar.gz) = 6668d3430437cc0a84ee30b034323394ca45aa3ed2846555be2af5ce6fe4f26051dea8fca4941b574129c5051b66f6e27b877dcfad095d3e7c0df883fcd9910e
Size (lens-5.2.tar.gz) = 698333 bytes