| Portability | non-portable (functional-dependencies) |
|---|---|
| Stability | experimental |
| Maintainer | Edward Kmett <ekmett@gmail.com> |
Control.Monad.Hyper
Description
Based on the construction of hyperfunctions as parameterized monads in http://crab.rutgers.edu/~pjohann/f14-ghani.pdf
Documentation
class ContravariantFunctor f whereSource
Instances
| ContravariantFunctor (ContraF a) | |
| ContravariantFunctor (ConstantF a) | |
| ContravariantFunctor (FstB a) | |
| ContravariantFunctor (ConstB t a) | |
| (Bifunctor p, ContravariantFunctor f, ContravariantFunctor g) => ContravariantFunctor (BifunctorF p f g) |
Instances
| ContravariantFunctor h => Bifunctor (HyperB h) | |
| ContravariantFunctor h => PPointed (HyperB h) | |
| ContravariantFunctor h => PApplicative (HyperB h) | |
| ContravariantFunctor h => PMonad (HyperB h) |