| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Date: Sat, 17 Jan 2026 11:57:26 GMT
Age: 0
X-Served-By: cache-dfw-ktki8620072-DFW, cache-bom-vanm7210049-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768651047.570460,VS0,VE304
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
data-diverse-lens: Isos & Lens for Data.Diverse.Many and Prisms for Data.Diverse.Which
[Skip to Readme]
data-diverse-lens: Isos & Lens for Data.Diverse.Many and Prisms for Data.Diverse.Which
Isos & Lens for Data.Diverse.Many and Prisms for Data.Diverse.Which Refer to ManySpec.hs and WhichSpec.hs for example usages.
[Skip to Readme]
Modules
[Index]
Downloads
- data-diverse-lens-4.3.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0, 0.1.1.0, 0.3.0.0, 0.4.0.0, 0.4.0.1, 0.5.0.0, 0.5.1.0, 0.5.2.0, 1.0.0.0, 1.0.0.1, 2.0.0.0, 2.0.0.1, 2.1.0.0, 3.0.0.0, 3.0.0.1, 3.0.0.2, 3.1.0.0, 3.1.1.0, 4.0.0.0, 4.1.0.0, 4.2.0.0, 4.2.0.1, 4.3.0.0 (info) |
|---|---|
| Dependencies | base (>=4.7 && <5), data-diverse (>=4.0), data-has (>=0.3), lens (>=4), profunctors (>=5.2), tagged (>=0.8) [details] |
| Tested with | ghc ==8.0.1, ghc ==8.2.2 |
| License | BSD-3-Clause |
| Copyright | 2017 Louis Pan |
| Author | Louis Pan |
| Maintainer | louis@pan.me |
| Uploaded | by louispan at 2018-06-30T14:09:33Z |
| Category | Data, Records |
| Home page | https://github.com/louispan/data-diverse-lens#readme |
| Source repo | head: git clone https://github.com/louispan/data-diverse-lens |
| Distributions | |
| Reverse Dependencies | 3 direct, 2 indirect [details] |
| Downloads | 10651 total (93 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2018-06-30 [all 1 reports] |
Readme for data-diverse-lens-4.3.0.0
[back to package description]Provides "Iso"s & 'Len's for "Data.Diverse.Many" and 'Prism's for "Data.Diverse.Which".
Refer to ManySpec.hs and WhichSpec.hs for example usages.
Changelog
-
4.3.0.0
- Replaced
piece'withhasLens,piecewithhadLens - Replaced
pieceX'withhasX,pieceXhadX
- Replaced
-
4.2.0.1
- Missed removing Semigroup constraint from
chooseWith
- Missed removing Semigroup constraint from
-
4.2.0.0
- Replaced
alsoandalternativelywithchooseWith
- Replaced
-
4.1.0.0
- Removed generic-lens dependency - didn't really use it.
-
4.0.0.0
- Renamed
itemXXXtopieceXXX,ItemizedtoPieced,itemizedXXXtopiecedXXX.
- Renamed
-
3.1.1.0
itemTagonly requiresHasand likewisefacetTagonly requiresAsFacet.
-
3.1.0.0
- Replaced
HasItemwithData.Has.
- Replaced
-
3.0.0.2
- Fixed haddock.
-
3.0.0.1
- Fixed GHC 8.2.2 "Type indexes must match class instance head" compile error.
-
3.0.0.0
- Renamed
SelectWithtoMakeFrom, splitChooseBtweentoChooseBothandChooseFrom. - Removed hard to remember operators ``>&&>
&&+||+>||>` - Removed
faceted' - Added
instance AsFacet Void (Which '[])andinstance AsFacet (Which '[]) Void - Polymorphic
HasItemXnow only requires two to three type args.
- Renamed
-
2.1.0.0
- Removed profunctor variable
wfrom the constraint synonyms forProjected/Injected.
- Removed profunctor variable
-
2.0.0.1
- Forgot to expose constraint synonyms for
Projected/Injected.
- Forgot to expose constraint synonyms for
-
2.0.0.0
- Breaking change: Removed
HasProjectandAsInjecttypeclasses and changed them back to functions. - Added
MatchingFacettypeclasses for polymorphicmatchingof prisms. - Added constraint synonyms for
Project/Inject/Projected/Injected.
- Breaking change: Removed
-
1.0.0.1
- Fixed missing exports of the new lens classes.
-
1.0.0.0
- Removed overlapping instances of
Data.Genericslens - Using typeclass instead of plain functions so that lens can be used for other data types
- Added default implementations for some of these typeclasses using Data.Generic typeclasses.
- Breaking change: the xxx' version of functions are now consistently the simpler or non-polymorphic version - This is more consistent with 'Control.Lens' as well.
- This means the following are swapped:
item,item'itemL,itemL'itemTag,itemTag'itemN,itemN'project,project'projectL,projectL'projectN,projectN'
- This means the following are swapped:
- Removed overlapping instances of
-
0.5.2.0
- Added
itemTagandfacetTagthat also tag/untags the field. - Added overlapping instances of
Data.Genericslens
- Added
-
0.5.1.0
- Added
faceted,injected,itemized,projected, which is analogous toProfunctorChoiceandStrongbut usingWhichandMany - Added
+||+(analogous to+++and|||),>||>; and*&&*(analogous to***and&&&), and>&&>.
- Added
-
0.5.0.0
- min bounds: data-diverse >=1.2.1
- Rerranged type variable for xxxL and xxxN functions so that the
@x@ inferrred from label @l@ or index @n@ is after @proxy@.
- This affects
item[L|N],item[L|N]',replace[L|N]',facet[L|N] - Same change was made in data-diverse-1.2.0.0
- This affects
-
0.4.0.1
- included data-diverse 1.0 in the upper bounds
-
0.4.0.0
- Changed type variable ordering of
itemLanditemL, so it's consistentlyx,y, thenxs
- Changed type variable ordering of
-
0.3.0.0
- Changed type variable ordering of
facetLandfacetN, so it's consistentlyxthenxs
- Changed type variable ordering of
-
pre 0.3.0.0
- Initial version.
