profunctor-optics: A compact optics library compatible with the typeclasses in profunctors.

[ bsd3, data, lenses, library, profunctors, program ] [ Propose Tags ]

This package provides utilities for creating and manipulating profunctor-based optics. Some highlights:

Full complement of isos, prisms, lenses, grates, traversals, cotraversals, views, setters, folds, and more.

Compact & straight-forward implementation.

Fully interoperable. All that is required to create optics is the profunctors package. Optics compose with (.) from Prelude as is typical. Conversions to & from the Van Laarhoven representations are provided for each optic type.

Well-documented properties and exportable predicates for testing your own optics.

See the Readme file for more information.

Versions [faq] 0.0.0.1, 0.0.0.2, 0.0.0.3, 0.0.0.4, 0.0.0.5, 0.0.1, 0.0.2
Change log ChangeLog.md
Dependencies adjunctions (>=4.4 && <5.0), base (>=4.9 && <5.0), coapplicative (>=0.0.1 && <0.2), distributive (>=0.3 && <1), doctest (>=0.8), lawz (>=0.1.1 && <0.2), mtl (>=2.0.1 && <2.3), newtype-generics (>=0.5.3 && <0.6), profunctor-optics, profunctors (>=5.4 && <6), rings (==0.1.3.*), semigroupoids (==5.*), tagged (>=0.4.4 && <1), transformers (==0.5.*) [details]
License BSD-3-Clause
Copyright 2019 Chris McKinlay
Author Chris McKinlay
Maintainer Chris McKinlay
Category Data, Lenses, Profunctors
Home page https://github.com/cmk/profunctor-optics
Bug tracker https://github.com/cmk/profunctor-optics/issues
Source repo head: git clone https://github.com/cmk/profunctor-optics
Uploaded by cmk at 2020-03-09T17:38:02Z
Distributions NixOS:0.0.2
Executables doctest
Downloads 1419 total (15 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees