Path to this page:
./
devel/hs-lens,
Lenses, Folds and Traversals
Branch: CURRENT,
Version: 5.2.3nb2,
Package name: hs-lens-5.2.3nb2,
Maintainer: pkgsrc-usersThis package provides families of lenses, isomorphisms, folds, traversals,
getters and setters.
Master sites:
Filesize: 686.738 KB
Version history: (Expand)
- (2024-05-09) Updated to version: hs-lens-5.2.3nb2
- (2023-11-02) Updated to version: hs-lens-5.2.3nb1
- (2023-10-30) Updated to version: hs-lens-5.2.3
- (2023-10-09) Updated to version: hs-lens-5.2nb2
- (2023-02-09) Updated to version: hs-lens-5.2nb1
- (2022-08-23) Updated to version: hs-lens-5.2
CVS history: (Expand)
2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141) |
Log message:
Revbump all Haskell after updating lang/ghc96
|
2023-10-30 19:52:38 by Masatake Daimon | Files touched by this commit (4) | |
Log message:
devel/hs-lens: Update to 5.2.3
5.2.3 [2023.08.24]
* Allow building with GHC 9.8.
* Add new Prisms to Language.Haskell.TH.Lens to reflect recent additions to
template-haskell:
- _GetFieldE and _ProjectionE Prisms for the Exp data type, whose
corresponding data constructors were introduced in
template-haskell-2.18.*.
- _TypedBracketE and _TypedSpliceE Prisms for the Exp data type, whose
corresponding data constructors were introduced in
template-haskell-2.21.*.
- _BndrReq and _BndrInvis Prisms 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.
5.2.2 [2023.03.18]
* Fix a bug in which calling ix i (where i is a negative number) on Text or
ByteString would return the Just the first character instead of returning
Nothing.
5.2.1 [2023.02.27]
* Allow building with GHC 9.6.
* Allow building with GHC backends where HTYPE_SIG_ATOMIC_T is not defined,
such as the WASM backend.
* Support building with th-abstraction-0.5.*.
* Define _TypeDataD in Language.Haskell.TH.Lens when building with
template-haskell-2.20.0.0 (GHC 9.6) or later.
|
2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988) |
Log message:
Bump Haskell packages after updating lang/ghc94
|
2022-08-23 14:16:25 by Thomas Klausner | Files touched by this commit (2) | |
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`.
|
2022-08-20 10:08:24 by Thomas Klausner | Files touched by this commit (211) |
Log message:
hs*: recursive bump for new dependencies needed
for hs-aeson, hs-vector
|
2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872) |
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
|
2022-02-16 11:00:52 by Masatake Daimon | Files touched by this commit (5) |
Log message:
devel/hs-lens: import hs-lens-5.1
This package provides families of lenses, isomorphisms, folds, traversals,
getters and setters.
|