HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Package0.4.1.1DataOpticsLenses

optics-core

Optics as an abstract interface: core definitions

  • Version0.4.1.1
  • CategoryData, Optics, Lenses
  • LicenceBSD-3-Clause
  • AuthorAdam Gundry, Andres Löh, Andrzej Rybczak, Oleg Grenrus
  • Maintaineroptics@well-typed.com
  • Pinned byhackage optics-core 0.4.1.1
  • Sourcehackage.haskell.org/package/optics-core-0.4.1.1

Modules

66 modules
Internal modules · 17
  • Optics.Internal.Bi4Classes for co- and contravariant bifunctors. This module is intended for internal use only, and may change without warning
  • Optics.Internal.Fold7Internal implementation details of folds. This module is intended for internal use only, and may change without warning
  • Optics.Internal.Generic23
  • Optics.Internal.Generic.TypeLevel9This module is intended for internal use only, and may change without
  • Optics.Internal.Indexed9Internal implementation details of indexed optics. This module is intended for internal use only, and may change without warning
  • Optics.Internal.Indexed.Classes23Internal implementation details of indexed optics. This module is intended for internal use only, and may change without warning
  • Optics.Internal.IxFold3Internal implementation details of indexed folds. This module is intended for internal use only, and may change without warning
  • Optics.Internal.IxSetter1Internal implementation details of indexed setters. This module is intended for internal use only, and may change without warning
  • Optics.Internal.IxTraversal1Internal implementation details of indexed traversals. This module is intended for internal use only, and may change without warning
  • Optics.Internal.Magic2This module is intended for internal use only, and may change without
  • Optics.Internal.Optic9Core optic types and subtyping machinery. This module contains the core Optic types, and the underlying
  • Optics.Internal.Optic.Subtyping13Instances to implement the subtyping hierarchy between optics. This module is intended for internal use only, and may change without warning
  • Optics.Internal.Optic.TypeLevel24This module is intended for internal use only, and may change without
  • Optics.Internal.Optic.Types14This module is intended for internal use only, and may change without
  • Optics.Internal.Setter1Internal implementation details of setters. This module is intended for internal use only, and may change without warning
  • Optics.Internal.Traversal1Internal implementation details of traversals. This module is intended for internal use only, and may change without warning
  • Optics.Internal.Utils10This module is intended for internal use only, and may change without warning

Description

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.

Depends on

6 packages

Used by in this set · 8