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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10

Modulekan-extensions-5.2.8Haskell2010

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.