Copyright | (C) 2015 Edward Kmett |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | non-portable, MPTCs, fundeps |
Safe Haskell | Safe |
Language | Haskell2010 |
Synopsis
- class (ProfunctorFunctor f, ProfunctorFunctor u) => ProfunctorAdjunction (f :: (Type -> Type -> Type) -> Type -> Type -> Type) (u :: (Type -> Type -> Type) -> Type -> Type -> Type) | f -> u, u -> f where
Documentation
class (ProfunctorFunctor f, ProfunctorFunctor u) => ProfunctorAdjunction (f :: (Type -> Type -> Type) -> Type -> Type -> Type) (u :: (Type -> Type -> Type) -> Type -> Type -> Type) | f -> u, u -> f where Source #
unit :: forall (p :: Type -> Type -> Type). Profunctor p => p :-> u (f p) Source #
counit :: forall (p :: Type -> Type -> Type). Profunctor p => f (u p) :-> p Source #