| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Profunctor.Composition
Synopsis
- data ((p :: j +-> k) :.: (q :: i +-> j)) (a :: k) (c :: i) where
- o :: forall {i} {j} {k} (p :: j +-> k) (q :: j +-> k) (r :: i +-> j) (s :: i +-> j). Prof p q -> Prof r s -> Prof (p :.: r) (q :.: s)
- compComp :: forall {i} (p :: i +-> i) (q :: i +-> i) (b :: i) (c :: i) (a :: i). (Promonad p, Promonad q) => ((q :.: p) :~> (p :.: q)) -> (p :.: q) b c -> (p :.: q) a b -> (p :.: q) a c
Documentation
data ((p :: j +-> k) :.: (q :: i +-> j)) (a :: k) (c :: i) where Source Github #
Constructors
| (:.:) :: forall {j} {k} {i} (p :: j +-> k) (a :: k) (b :: j) (q :: i +-> j) (c :: i). p a b -> q b c -> (p :.: q) a c |
Instances
| (Strong m p, Strong m q) => Strong m (p :.: q :: d -> c -> Type) Source Github # | |||||
| (MonoidalProfunctor p, MonoidalProfunctor q) => MonoidalProfunctor (p :.: q :: k -> j2 -> Type) Source Github # | |||||
| (Profunctor p, Profunctor q) => Profunctor (p :.: q :: k -> j2 -> Type) Source Github # | |||||
Defined in Proarrow.Profunctor.Composition Methods dimap :: forall (c :: k) (a :: k) (b :: j2) (d :: j2). (c ~> a) -> (b ~> d) -> (p :.: q) a b -> (p :.: q) c d Source Github # lmap :: forall (c :: k) (a :: k) (b :: j2). (c ~> a) -> (p :.: q) a b -> (p :.: q) c b Source Github # rmap :: forall (b :: j2) (d :: j2) (a :: k). (b ~> d) -> (p :.: q) a b -> (p :.: q) a d Source Github # (\\) :: forall (a :: k) (b :: j2) r. ((Ob a, Ob b) => r) -> (p :.: q) a b -> r Source Github # | |||||
| (Corepresentable p, Corepresentable q) => Corepresentable (p :.: q :: k -> j2 -> Type) Source Github # | |||||
Defined in Proarrow.Profunctor.Composition Methods coindex :: forall (a :: k) (b :: j2). (p :.: q) a b -> ((p :.: q) %% a) ~> b Source Github # cotabulate :: forall (a :: k) (b :: j2). Ob a => (((p :.: q) %% a) ~> b) -> (p :.: q) a b Source Github # corepMap :: forall (a :: k) (b :: k). (a ~> b) -> ((p :.: q) %% a) ~> ((p :.: q) %% b) Source Github # trivialCorep :: forall (a :: k). Ob a => (p :.: q) a ((p :.: q) %% a) Source Github # | |||||
| (Representable p, Representable q) => Representable (p :.: q :: k -> j2 -> Type) Source Github # | |||||
Defined in Proarrow.Profunctor.Composition Methods index :: forall (a :: k) (b :: j2). (p :.: q) a b -> a ~> ((p :.: q) % b) Source Github # tabulate :: forall (b :: j2) (a :: k). Ob b => (a ~> ((p :.: q) % b)) -> (p :.: q) a b Source Github # repMap :: forall (a :: j2) (b :: j2). (a ~> b) -> ((p :.: q) % a) ~> ((p :.: q) % b) Source Github # trivialRep :: forall (a :: j2). Ob a => (p :.: q) ((p :.: q) % a) a Source Github # | |||||
| (Corepresentable j2, HasColimits j1 k, HasColimits j2 k) => HasColimits (j1 :.: j2 :: i -> a -> Type) k Source Github # | |||||
Defined in Proarrow.Category.Colimit | |||||
| (Representable j1, HasLimits j1 k, HasLimits j2 k) => HasLimits (j1 :.: j2 :: a -> i -> Type) k Source Github # | |||||
Defined in Proarrow.Category.Limit | |||||
| (Proadjunction l1 r1, Proadjunction l2 r2) => Proadjunction (l1 :.: l2 :: i -> k -> Type) (r2 :.: r1 :: k -> i -> Type) Source Github # | |||||
| (IsReader p, IsReader q) => IsReader (p :.: q :: k -> k -> Type) Source Github # | |||||
Defined in Proarrow.Category.Equipment.Stateful Associated Types
| |||||
| (IsWriter p, IsWriter q) => IsWriter (p :.: q :: k -> k -> Type) Source Github # | |||||
Defined in Proarrow.Category.Equipment.Stateful Associated Types
| |||||
| (Cotraversable p, Cotraversable q) => Cotraversable (p :.: q :: k -> k -> Type) Source Github # | |||||
Defined in Proarrow.Category.Monoidal.Distributive | |||||
| (Traversable p, Traversable q) => Traversable (p :.: q :: k -> k -> Type) Source Github # | |||||
| Proadjunction p q => Promonad (q :.: p :: k -> k -> Type) Source Github # | |||||
| Proadjunction p q => Procomonad (p :.: q :: i -> i -> Type) Source Github # | |||||
| (Profunctor f, Profunctor g, MonoidalProfunctor (Coprod f), MonoidalProfunctor (Coprod g)) => MonoidalProfunctor (Coprod (f :.: g) :: COPROD k -> COPROD j2 -> Type) Source Github # | |||||
Defined in Proarrow.Profunctor.Composition | |||||
| Functor ((:.:) :: (j +-> k) -> (i +-> j) -> k -> i -> Type) Source Github # | |||||
| Profunctor p => Functor ((:.:) p :: (i +-> j) -> k -> i -> Type) Source Github # | |||||
| type Colimit (j1 :.: j2 :: i -> a -> Type) (d :: k +-> i) Source Github # | |||||
| type Limit (j1 :.: j2 :: a -> i -> Type) (d :: i +-> k) Source Github # | |||||
| type (p :.: q :: k -> j1 -> Type) %% (a :: k) Source Github # | |||||
| type (p :.: q :: k -> j1 -> Type) % (a :: j1) Source Github # | |||||
| type WithReader (p :.: q :: k -> k -> Type) Source Github # | |||||
Defined in Proarrow.Category.Equipment.Stateful | |||||
| type WithWriter (p :.: q :: k -> k -> Type) Source Github # | |||||
Defined in Proarrow.Category.Equipment.Stateful | |||||