Density Comonad.
Density is Left Kan Extension where both Functors are the same.
Without any restrictions on F we can define Functor, Cobind, Comonad for Density[F]. Density is Comonad for free.
- See also
- Companion
- object
Value members
Concrete methods
Density is left Kan extension of a Functor F along itself (Lan f f).
Density is left Kan extension of a Functor F along itself (Lan f f).
lanToDensity(d.densityToLan) == d lanToDensity(l).densityToLan == l