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

Modulekan-extensions-5.2.7Haskell2010

Data.Functor.Contravariant.Coyoneda

The co-Yoneda lemma for presheafs states that f is naturally isomorphic to Coyoneda f.

  • 1 type
  • 3 values
datadata Coyoneda (f :: Type -> Type) a where
#

A Contravariant functor (aka presheaf) suitable for Yoneda reduction.

http://ncatlab.org/nlab/show/Yoneda+reduction

Constructors

Instances4Contravariant, Representable, Adjunction, Rep
valuehoistCoyoneda :: (forall a. f a -> g a) -> Coyoneda f b -> Coyoneda g b
#

Lift a natural transformation from f to g to a natural transformation from Coyoneda f to Coyoneda g.