HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulecomonad-5.0.9Haskell2010

Control.Comonad.Hoist.Class

  • 1 class
  • Packagecomonad-5.0.9
  • Exports1
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
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