HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Moduleoptics-core-0.4.2Haskell2010

Optics.Mapping

This module defines mapping, which turns an Optic' k NoIx s a into an Optic' (MappedOptic k) NoIx (f s) (f a), in other words optic operating on values in a Functor.

  • 1 class
  • Packageoptics-core-0.4.2
  • Exports1
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceMapping.hs
classclass MappingOptic (k :: OpticKind) (f :: Type -> Type) (g :: Type -> Type) s t a b where
#

Class for optics supporting mapping through a Functor.

Associated types

Methods

Instances7MappingOptic, …