pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/hs-lens hs-lens: update to 5.2.
details: https://anonhg.NetBSD.org/pkgsrc/rev/509c89c1f73c
branches: trunk
changeset: 383829:509c89c1f73c
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Aug 23 12:16:25 2022 +0000
description:
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`.
diffstat:
devel/hs-lens/Makefile | 5 ++---
devel/hs-lens/distinfo | 8 ++++----
2 files changed, 6 insertions(+), 7 deletions(-)
diffs (26 lines):
diff -r d418759e6e83 -r 509c89c1f73c devel/hs-lens/Makefile
--- a/devel/hs-lens/Makefile Tue Aug 23 12:11:13 2022 +0000
+++ b/devel/hs-lens/Makefile Tue Aug 23 12:16:25 2022 +0000
@@ -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@localhost
diff -r d418759e6e83 -r 509c89c1f73c devel/hs-lens/distinfo
--- a/devel/hs-lens/distinfo Tue Aug 23 12:11:13 2022 +0000
+++ b/devel/hs-lens/distinfo Tue Aug 23 12:16:25 2022 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index