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

Control.Comonad.Density

The Density Comonad for a Functor (aka the 'Comonad generated by a Functor) The Density term dates back to Dubuc''s 1974 thesis. The term Monad generated by a Functor dates back to 1972 in Street''s ''Formal Theory of Monads''.

The left Kan extension of a Functor along itself (Lan f f) forms a Comonad. This is that Comonad.

  • 1 type
  • 5 values
datadata Density (k1 :: k -> Type) a where
#

Constructors

Instances6ComonadTrans, Functor, Applicative, Comonad, Apply, Extend