category-extras-0.53.6: Various modules and constructs inspired by category theoryContentsIndex
Control.Monad.HigherOrder
Portabilitynon-portable (rank-2 polymorphism)
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Description
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 m => HPointed m where
Methods
hreturn :: Functor f => f a -> m f a
show/hide Instances
class HPointed m => HMonad m where
Methods
hbind :: (Functor f, Functor g) => (f :~> m g) -> m f :~> m g
show/hide Instances
hjoin :: (HMonad m, Functor (m g), Functor g) => m (m g) :~> m g
(>>**=) :: (HMonad m, Functor f, Functor g) => m f a -> (f :~> m g) -> m g a
(=**<<) :: (HMonad m, Functor f, Functor g) => (f :~> m g) -> m f :~> m g
Produced by Haddock version 2.1.0