HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleoptics-core-0.4.1.1Haskell2010

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
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, …