Safe Haskell | Safe-Inferred |
---|
Data.Profunctor.Monad
Documentation
class ProfunctorFunctor t whereSource
Methods
promap :: Profunctor p => (p :-> q) -> t p :-> t qSource
class ProfunctorFunctor t => ProfunctorMonad t whereSource
Instances
ProfunctorMonad Environment | |
ProfunctorMonad Copastro | |
ProfunctorMonad Pastro | |
(Functor f, Monad f) => ProfunctorMonad (Cayley f) | Cayley transforms Monads in |
Category p => ProfunctorMonad (Procompose p) |
class ProfunctorFunctor t => ProfunctorComonad t whereSource
Methods
proextract :: Profunctor p => t p :-> pSource
produplicate :: Profunctor p => t p :-> t (t p)Source
Instances
ProfunctorComonad Closure | |
ProfunctorComonad Cotambara | |
ProfunctorComonad Tambara | |
Comonad f => ProfunctorComonad (Cayley f) | Cayley transforms Comonads in |
Category p => ProfunctorComonad (Rift p) | |
Category p => ProfunctorComonad (Ran p) |