Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- class PProfunctor (p :: (S -> Type) -> (S -> Type) -> S -> Type) where
- type PContraSubcategory p :: (S -> Type) -> Constraint
- type PCoSubcategory p :: (S -> Type) -> Constraint
- pdimap :: forall (a :: S -> Type) (b :: S -> Type) (c :: S -> Type) (d :: S -> Type) (s :: S). (PContraSubcategory p a, PContraSubcategory p b, PCoSubcategory p c, PCoSubcategory p d) => Term s ((a :--> b) :--> ((c :--> d) :--> (p b c :--> p a d)))
- plmap :: forall (a :: S -> Type) (b :: S -> Type) (c :: S -> Type) (s :: S). (PContraSubcategory p a, PContraSubcategory p b, PCoSubcategory p c) => Term s ((a :--> b) :--> (p b c :--> p a c))
- prmap :: forall (a :: S -> Type) (c :: S -> Type) (d :: S -> Type) (s :: S). (PContraSubcategory p a, PCoSubcategory p c, PCoSubcategory p d) => Term s ((c :--> d) :--> (p a c :--> p a d))
Documentation
class PProfunctor (p :: (S -> Type) -> (S -> Type) -> S -> Type) where Source #
Since: 1.0.0
type PContraSubcategory p :: (S -> Type) -> Constraint Source #
type PCoSubcategory p :: (S -> Type) -> Constraint Source #
pdimap :: forall (a :: S -> Type) (b :: S -> Type) (c :: S -> Type) (d :: S -> Type) (s :: S). (PContraSubcategory p a, PContraSubcategory p b, PCoSubcategory p c, PCoSubcategory p d) => Term s ((a :--> b) :--> ((c :--> d) :--> (p b c :--> p a d))) Source #
plmap :: forall (a :: S -> Type) (b :: S -> Type) (c :: S -> Type) (s :: S). (PContraSubcategory p a, PContraSubcategory p b, PCoSubcategory p c) => Term s ((a :--> b) :--> (p b c :--> p a c)) Source #
prmap :: forall (a :: S -> Type) (c :: S -> Type) (d :: S -> Type) (s :: S). (PContraSubcategory p a, PCoSubcategory p c, PCoSubcategory p d) => Term s ((c :--> d) :--> (p a c :--> p a d)) Source #