HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulekan-extensions-5.2.7Haskell2010

Data.Functor.Kan.Lan

Left Kan Extensions

  • 1 type
  • 9 values

Left Kan Extensions

10 declarations
datadata Lan (g :: k -> Type) (h :: k -> Type) a where
#

The left Kan extension of a Functor h along a Functor g.

Constructors

  • Lan :: (g b -> a) -> h b -> Lan g h a
Instances3Functor, Applicative, Apply
valuetoLan :: Functor f => (forall (a :: k). h a -> f (g a)) -> Lan g h b -> f b
#

The universal property of a left Kan extension.

valueglan :: h a -> Lan g h (g a)
#

This is the natural transformation that defines a Left Kan extension.