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

GHC 9.14.1 · lts/ghc-9.14.x · 6d5fdfd · 2026-10-12

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