The data-diverse-lens package

[ Tags: bsd3, data, library, records ] [ Propose Tags ]

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]

Properties

Versions 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 (info)
Dependencies base (>=4.7 && <5), data-diverse (>=1.2.0.3), lens (>=4), profunctors (>=5.2), tagged (>=0.8.5) [details]
License BSD3
Copyright 2017 Louis Pan
Author Louis Pan
Maintainer louis@pan.me
Category Data, Records
Home page https://github.com/louispan/data-diverse-lens#readme
Source repository head: git clone https://github.com/louispan/data-diverse-lens
Uploaded Sat Oct 28 14:06:45 UTC 2017 by louispan
Distributions LTSHaskell:0.1.1.0, NixOS:0.5.1.0, Stackage:0.5.1.0
Downloads 346 total (53 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-10-28 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for data-diverse-lens-0.5.1.0

[back to package description]

Hackage Build Status

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

  • 0.5.1.0

    • Added faceted, injected, itemized, projected, which is analogous to Profunctor Choice and Strong but using 'Which' and 'Many'
    • Added +||+ (analogous to +++ and |||), >||>; and && (analogous to *** and &&&), and >&&>.
  • 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
  • 0.4.0.1

    • included data-diverse 1.0 in the upper bounds
  • 0.4.0.0

    • Changed type variable ordering of 'itemL' and 'itemL', so it's consistently 'x', 'y', then 'xs'
  • 0.3.0.0

    • Changed type variable ordering of 'facetL' and 'facetN', so it's consistently 'x' then 'xs'
  • pre 0.3.0.0

    • Initial version represented as (Int, Data.Map Int Any)