Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- class PProfunctor p => PSemigroupoid (p :: (S -> Type) -> (S -> Type) -> S -> Type) where
- (#>>>) :: forall (a :: S -> Type) (b :: S -> Type) (c :: S -> Type) (s :: S). (PContraSubcategory p a, PContraSubcategory p b, PCoSubcategory p b, PCoSubcategory p c) => Term s (p a b) -> Term s (p b c) -> Term s (p a c)
- class PSemigroupoid p => PCategory (p :: (S -> Type) -> (S -> Type) -> S -> Type) where
- pidentity :: forall (a :: S -> Type) (s :: S). (PContraSubcategory p a, PCoSubcategory p a) => Term s (p a a)
- pconst :: forall (p :: (S -> Type) -> (S -> Type) -> S -> Type) (a :: S -> Type) (b :: S -> Type) (s :: S). (PContraSubcategory p b, PCategory p, PCoSubcategory p b, PCoSubcategory p a) => Term s (a :--> p b a)
- (#<<<) :: forall (p :: (S -> Type) -> (S -> Type) -> S -> Type) (a :: S -> Type) (b :: S -> Type) (c :: S -> Type) (s :: S). (PSemigroupoid p, PContraSubcategory p a, PContraSubcategory p b, PCoSubcategory p b, PCoSubcategory p c) => Term s (p b c) -> Term s (p a b) -> Term s (p a c)
Documentation
class PProfunctor p => PSemigroupoid (p :: (S -> Type) -> (S -> Type) -> S -> Type) where Source #
Since: 1.0.0
(#>>>) :: forall (a :: S -> Type) (b :: S -> Type) (c :: S -> Type) (s :: S). (PContraSubcategory p a, PContraSubcategory p b, PCoSubcategory p b, PCoSubcategory p c) => Term s (p a b) -> Term s (p b c) -> Term s (p a c) Source #
Instances
PSemigroupoid (:-->) Source # | Since: 1.0.0 |
Defined in Plutarch.Extra.Category | |
PBind f => PSemigroupoid (PStar f) Source # | Strengthening Since: 3.0.1 |
Defined in Plutarch.Extra.Star |
class PSemigroupoid p => PCategory (p :: (S -> Type) -> (S -> Type) -> S -> Type) where Source #
Since: 1.0.0
pidentity :: forall (a :: S -> Type) (s :: S). (PContraSubcategory p a, PCoSubcategory p a) => Term s (p a a) Source #
Instances
PCategory (:-->) Source # | Since: 1.0.0 |
Defined in Plutarch.Extra.Category | |
(PApplicative f, PBind f) => PCategory (PStar f) Source # | Strengthening |
Defined in Plutarch.Extra.Star |
pconst :: forall (p :: (S -> Type) -> (S -> Type) -> S -> Type) (a :: S -> Type) (b :: S -> Type) (s :: S). (PContraSubcategory p b, PCategory p, PCoSubcategory p b, PCoSubcategory p a) => Term s (a :--> p b a) Source #
Since: 1.0.0
(#<<<) :: forall (p :: (S -> Type) -> (S -> Type) -> S -> Type) (a :: S -> Type) (b :: S -> Type) (c :: S -> Type) (s :: S). (PSemigroupoid p, PContraSubcategory p a, PContraSubcategory p b, PCoSubcategory p b, PCoSubcategory p c) => Term s (p b c) -> Term s (p a b) -> Term s (p a c) infixr 1 Source #
Since: 1.0.0