pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/hs-lens
Module Name: pkgsrc
Committed By: wiz
Date: Tue Aug 23 12:16:25 UTC 2022
Modified Files:
pkgsrc/devel/hs-lens: Makefile distinfo
Log Message:
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`.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/hs-lens/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/hs-lens/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/hs-lens/Makefile
diff -u pkgsrc/devel/hs-lens/Makefile:1.3 pkgsrc/devel/hs-lens/Makefile:1.4
--- pkgsrc/devel/hs-lens/Makefile:1.3 Sat Aug 20 08:08:17 2022
+++ pkgsrc/devel/hs-lens/Makefile Tue Aug 23 12:16:25 2022
@@ -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
Index: pkgsrc/devel/hs-lens/distinfo
diff -u pkgsrc/devel/hs-lens/distinfo:1.1 pkgsrc/devel/hs-lens/distinfo:1.2
--- pkgsrc/devel/hs-lens/distinfo:1.1 Wed Feb 16 10:00:52 2022
+++ pkgsrc/devel/hs-lens/distinfo Tue Aug 23 12:16:25 2022
@@ -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