HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulecomonad-5.0.10Haskell2010

Control.Comonad.Hoist.Class

  • 1 class
classclass ComonadHoist (t :: (Type -> Type) -> Type -> Type) where
#

Methods

  • cohoist :: (Comonad w, Comonad v) => (forall x. w x -> v x) -> t w a -> t v a

    Given any comonad-homomorphism from w to v this yields a comonad homomorphism from t w to t v.

Instances4ComonadHoist