optics-core: Optics as an abstract interface: core definitions

[ bsd3, data, lenses, library, optics ] [ Propose Tags ] [ Report a vulnerability ]

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.

Flags

Manual Flags

NameDescriptionDefault
explicit-generic-labels

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

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.2, 0.3, 0.3.0.1, 0.4, 0.4.1, 0.4.1.1
Change log CHANGELOG.md
Dependencies array (>=0.5.2.0 && <0.6), base (>=4.10 && <5), containers (>=0.5.10.2 && <0.8), indexed-profunctors (>=0.1 && <0.2), indexed-traversable (>=0.1 && <0.2), transformers (>=0.5 && <0.7) [details]
Tested with ghc ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1, ghcjs ==8.4
License BSD-3-Clause
Author Adam Gundry, Andres Löh, Andrzej Rybczak, Oleg Grenrus
Maintainer optics@well-typed.com
Revised Revision 1 made by phadej at 2024-05-13T18:09:08Z
Category Data, Optics, Lenses
Bug tracker https://github.com/well-typed/optics/issues
Source repo head: git clone https://github.com/well-typed/optics.git(optics-core)
Uploaded by arybczak at 2023-06-22T21:12:56Z
Distributions Arch:0.4.1.1, LTSHaskell:0.4.1.1, NixOS:0.4.1.1, Stackage:0.4.1.1, openSUSE:0.4.1.1
Reverse Dependencies 54 direct, 208 indirect [details]
Downloads 23315 total (265 in the last 30 days)
Rating 2.5 (votes: 3) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-06-22 [all 1 reports]