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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 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, …