HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Modulecomonad-5.0.10Haskell2010

Control.Comonad.Hoist.Class

Synopsis
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