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

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