@hackage / optics-core

Optics as an abstract interface: core definitions

Latest0.4.2

About

Metadata

  • Last updated , by arybczak
  • License BSD-3-Clause
  • Categories Lenses
  • Maintained by: optics@well-typed.com

  • Lottery factor: 4

Links

Installation

Tested Compilers

  1. 9.12.2
  2. 9.10.3
  3. 9.8.4
  4. 9.6.7
  5. 9.4.8
  6. 9.2.8
  7. 9.0.2
  8. 8.10.7
  9. 8.8.4
  10. 8.6.5
  11. 8.4.4
  12. 8.2.2

Package Flags

Use the -f option with cabal commands to enable flags

    explicit-generic-labels (off by default)

    Require explicit GenericLabelOptics instances in order to use generics-based labels

Readme

This package makes it possible to define and use Lenses, Traversals, Prisms and other optics, using an abstract interface. . This variant provides core definitions with a minimal dependency footprint. See the optics package (and its dependencies) for documentation and the "batteries-included" variant.