category-extras-0.53.6: Various modules and constructs inspired by category theoryContentsIndex
Control.Comonad.HigherOrder
Portabilitynon-portable (rank-2 polymorphism)
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Description
extending Neil Ghani and Patrician Johann's HFunctor to higher order comonads
Documentation
class HFunctor f where
Methods
ffmap :: Functor g => (a -> b) -> f g a -> f g b
hfmap :: (g :~> h) -> f g :~> f h
show/hide Instances
HFunctor CoYoneda
HFunctor Yoneda
Bifunctor p Hask Hask Hask => HFunctor (Ap p)
Functor f => HFunctor (CompF f)
Functor f => HFunctor (ACompF f)
Functor g => HFunctor (Lan g)
HFunctor (Ran g)
(HFunctor f, HFunctor g) => HFunctor (CompH f g)
class HFunctor w => HCopointed w where
Methods
hextract :: Functor f => w f a -> f a
show/hide Instances
class HCopointed w => HComonad w where
Methods
hextend :: (Functor f, Functor g) => (w f :~> g) -> w f :~> w g
show/hide Instances
hduplicate :: (HComonad w, Functor (w g), Functor g) => w g :~> w (w g)
Produced by Haddock version 2.1.0