Safe Haskell | None |
---|---|
Language | GHC2024 |
Proarrow.Category.Instance.Ap
Documentation
data AP (f :: Type -> Type) k Source Comments #
Constructors
A k |
Instances
(Applicative f, CategoryOf k) => CategoryOf (AP f k) Source Comments # | |||||
Defined in Proarrow.Category.Instance.Ap | |||||
(Applicative f, HasBinaryCoproducts k) => HasBinaryCoproducts (AP f k) Source Comments # | |||||
Defined in Proarrow.Category.Instance.Ap Methods withObCoprod :: forall (a :: AP f k) (b :: AP f k) r. (Ob a, Ob b) => (Ob (a || b) => r) -> r Source Comments # lft :: forall (a :: AP f k) (b :: AP f k). (Ob a, Ob b) => a ~> (a || b) Source Comments # rgt :: forall (a :: AP f k) (b :: AP f k). (Ob a, Ob b) => b ~> (a || b) Source Comments # (|||) :: forall (x :: AP f k) (a :: AP f k) (y :: AP f k). (x ~> a) -> (y ~> a) -> (x || y) ~> a Source Comments # (+++) :: forall (a :: AP f k) (b :: AP f k) (x :: AP f k) (y :: AP f k). (a ~> x) -> (b ~> y) -> (a || b) ~> (x || y) Source Comments # | |||||
(Applicative f, HasBinaryProducts k) => HasBinaryProducts (AP f k) Source Comments # | |||||
Defined in Proarrow.Category.Instance.Ap Methods withObProd :: forall (a :: AP f k) (b :: AP f k) r. (Ob a, Ob b) => (Ob (a && b) => r) -> r Source Comments # fst :: forall (a :: AP f k) (b :: AP f k). (Ob a, Ob b) => (a && b) ~> a Source Comments # snd :: forall (a :: AP f k) (b :: AP f k). (Ob a, Ob b) => (a && b) ~> b Source Comments # (&&&) :: forall (a :: AP f k) (x :: AP f k) (y :: AP f k). (a ~> x) -> (a ~> y) -> a ~> (x && y) Source Comments # (***) :: forall (a :: AP f k) (b :: AP f k) (x :: AP f k) (y :: AP f k). (a ~> x) -> (b ~> y) -> (a && b) ~> (x && y) Source Comments # | |||||
(Applicative f, HasInitialObject k) => HasInitialObject (AP f k) Source Comments # | |||||
Defined in Proarrow.Category.Instance.Ap Associated Types
| |||||
(Applicative f, HasTerminalObject k) => HasTerminalObject (AP f k) Source Comments # | |||||
Defined in Proarrow.Category.Instance.Ap Associated Types
| |||||
(Applicative f, Profunctor p) => Profunctor (Ap p :: AP f k -> AP f j -> Type) Source Comments # | |||||
(Applicative f, Promonad p) => Promonad (Ap p :: AP f k -> AP f k -> Type) Source Comments # | |||||
type UN ('A :: j -> AP f j) ('A k :: AP f j) Source Comments # | |||||
type (~>) Source Comments # | |||||
type InitialObject Source Comments # | |||||
Defined in Proarrow.Category.Instance.Ap | |||||
type TerminalObject Source Comments # | |||||
Defined in Proarrow.Category.Instance.Ap | |||||
type Ob (a :: AP f k) Source Comments # | |||||
type (a :: AP f k) || (b :: AP f k) Source Comments # | |||||
type (a :: AP f k) && (b :: AP f k) Source Comments # | |||||