summaryrefslogtreecommitdiff
path: root/devel/hs-lens
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-08-23 12:16:25 +0000
committerwiz <wiz@pkgsrc.org>2022-08-23 12:16:25 +0000
commit56acb7d2b1f444fd144291d6b0d64682ae83efb9 (patch)
tree7d95c41d3519e84338e670469fd5843a691b18d2 /devel/hs-lens
parente59baa9aeb4710651c7d8d2b517ca5ed1f830acb (diff)
downloadpkgsrc-56acb7d2b1f444fd144291d6b0d64682ae83efb9.tar.gz
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 (limited to 'devel/hs-lens')
-rw-r--r--devel/hs-lens/Makefile5
-rw-r--r--devel/hs-lens/distinfo8
2 files changed, 6 insertions, 7 deletions
diff --git a/devel/hs-lens/Makefile b/devel/hs-lens/Makefile
index c86495c6f0f..427d99acdcb 100644
--- a/devel/hs-lens/Makefile
+++ b/devel/hs-lens/Makefile
@@ -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
diff --git a/devel/hs-lens/distinfo b/devel/hs-lens/distinfo
index fade6feb81f..3ede56c755c 100644
--- a/devel/hs-lens/distinfo
+++ b/devel/hs-lens/distinfo
@@ -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