| Copyright | (C) 2014-2015 Edward Kmett |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Edward Kmett <ekmett@gmail.com> |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Profunctor.Monad
Description
Documentation
class ProfunctorFunctor t where Source
Methods
promap :: Profunctor p => (p :-> q) -> t p :-> t q Source
Instances
class ProfunctorFunctor t => ProfunctorMonad t where Source
Methods
proreturn :: Profunctor p => p :-> t p Source
projoin :: Profunctor p => t (t p) :-> t p Source
Instances
| ProfunctorMonad Copastro Source | |
| ProfunctorMonad Pastro Source | |
| ProfunctorMonad Environment Source | |
| ProfunctorMonad CopastroSum Source | |
| ProfunctorMonad PastroSum Source | |
| ProfunctorMonad FreeTraversing Source | |
| ProfunctorMonad FreeMapping Source | |
| (Functor f, Monad f) => ProfunctorMonad (Cayley f) Source | Cayley transforms Monads in |
| Category * p => ProfunctorMonad (Procompose p) Source | |
| ProfunctorMonad (Sum * * p) Source | |
| Monad f => ProfunctorMonad (Tannen * * * f) Source |
class ProfunctorFunctor t => ProfunctorComonad t where Source
Methods
proextract :: Profunctor p => t p :-> p Source
produplicate :: Profunctor p => t p :-> t (t p) Source
Instances
| ProfunctorComonad Cotambara Source | |
| ProfunctorComonad Tambara Source | |
| ProfunctorComonad Closure Source | |
| ProfunctorComonad CotambaraSum Source | |
| ProfunctorComonad TambaraSum Source | |
| ProfunctorComonad CofreeTraversing Source | |
| ProfunctorComonad CofreeMapping Source | |
| Comonad f => ProfunctorComonad (Cayley f) Source | Cayley transforms Comonads in |
| Category * p => ProfunctorComonad (Rift p) Source | |
| Category * p => ProfunctorComonad (Ran p) Source | |
| ProfunctorComonad (Product * * p) Source | |
| Comonad f => ProfunctorComonad (Tannen * * * f) Source |