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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 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