data-diverse-lens

Isos & Lens for Data.Diverse.Many and Prisms for Data.Diverse.Which

https://github.com/louispan/data-diverse-lens#readme

Version on this page:0.5.0.0
LTS Haskell 14.27:4.3.0.0
Stackage Nightly 2019-09-21:4.3.0.0
Latest on Hackage:4.3.0.0

See all snapshots data-diverse-lens appears in

BSD-3-Clause licensed by Louis Pan
Maintained by [email protected]
This version can be pinned in stack with:data-diverse-lens-0.5.0.0@sha256:097f82611ffc8a4a3c86393aa5a7d0611c1f94fd99a6e15d5384e97d48ad8f5f,2155

Module documentation for 0.5.0.0

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.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)