| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Category.Monoidal.Rev
Documentation
Constructors
| R k |
Instances
| Monoidal k => Monoidal (REV k) Source Github # | The flipped tensor. | ||||
Defined in Proarrow.Category.Monoidal.Rev Associated Types
Methods withOb2 :: forall (a :: REV k) (b :: REV k) r. (Ob a, Ob b) => (Ob (a ** b) => r) -> r Source Github # leftUnitor :: forall (a :: REV k). Ob a => ((Unit :: REV k) ** a) ~> a Source Github # leftUnitorInv :: forall (a :: REV k). Ob a => a ~> ((Unit :: REV k) ** a) Source Github # rightUnitor :: forall (a :: REV k). Ob a => (a ** (Unit :: REV k)) ~> a Source Github # rightUnitorInv :: forall (a :: REV k). Ob a => a ~> (a ** (Unit :: REV k)) Source Github # associator :: forall (a :: REV k) (b :: REV k) (c :: REV k). (Ob a, Ob b, Ob c) => ((a ** b) ** c) ~> (a ** (b ** c)) Source Github # associatorInv :: forall (a :: REV k) (b :: REV k) (c :: REV k). (Ob a, Ob b, Ob c) => (a ** (b ** c)) ~> ((a ** b) ** c) Source Github # | |||||
| SymMonoidal k => SymMonoidal (REV k) Source Github # | |||||
| CopyDiscard k => CopyDiscard (REV k) Source Github # | |||||
| CategoryOf k => CategoryOf (REV k) Source Github # | The reverse of the category of | ||||
Defined in Proarrow.Category.Monoidal.Rev | |||||
| MonoidalProfunctor p => MonoidalProfunctor (Rev p :: REV k -> REV j -> Type) Source Github # | |||||
| Profunctor p => Profunctor (Rev p :: REV k -> REV j -> Type) Source Github # | |||||
Defined in Proarrow.Category.Monoidal.Rev Methods dimap :: forall (c :: REV k) (a :: REV k) (b :: REV j) (d :: REV j). (c ~> a) -> (b ~> d) -> Rev p a b -> Rev p c d Source Github # lmap :: forall (c :: REV k) (a :: REV k) (b :: REV j). (c ~> a) -> Rev p a b -> Rev p c b Source Github # rmap :: forall (b :: REV j) (d :: REV j) (a :: REV k). (b ~> d) -> Rev p a b -> Rev p a d Source Github # (\\) :: forall (a :: REV k) (b :: REV j) r. ((Ob a, Ob b) => r) -> Rev p a b -> r Source Github # | |||||
| Comonoid a => Comonoid ('R a :: REV k) Source Github # | |||||
| Monoid a => Monoid ('R a :: REV k) Source Github # | |||||
| Promonad p => Promonad (Rev p :: REV j -> REV j -> Type) Source Github # | |||||
| type UN ('R :: j -> REV j) ('R a :: REV j) Source Github # | |||||
| type Unit Source Github # | |||||
Defined in Proarrow.Category.Monoidal.Rev | |||||
| type (~>) Source Github # | |||||
Defined in Proarrow.Category.Monoidal.Rev | |||||
| type Ob (a :: REV k) Source Github # | |||||
| type ('R a :: REV k) ** ('R b :: REV k) Source Github # | |||||
data Rev (p :: j +-> k) (a :: REV k) (b :: REV j) where Source Github #
Constructors
| Rev :: forall {j} {k} (p :: j +-> k) (a1 :: k) (b1 :: j). p a1 b1 -> Rev p ('R a1) ('R b1) |
Instances
| MonoidalProfunctor p => MonoidalProfunctor (Rev p :: REV k -> REV j -> Type) Source Github # | |
| Profunctor p => Profunctor (Rev p :: REV k -> REV j -> Type) Source Github # | |
Defined in Proarrow.Category.Monoidal.Rev Methods dimap :: forall (c :: REV k) (a :: REV k) (b :: REV j) (d :: REV j). (c ~> a) -> (b ~> d) -> Rev p a b -> Rev p c d Source Github # lmap :: forall (c :: REV k) (a :: REV k) (b :: REV j). (c ~> a) -> Rev p a b -> Rev p c b Source Github # rmap :: forall (b :: REV j) (d :: REV j) (a :: REV k). (b ~> d) -> Rev p a b -> Rev p a d Source Github # (\\) :: forall (a :: REV k) (b :: REV j) r. ((Ob a, Ob b) => r) -> Rev p a b -> r Source Github # | |
| Promonad p => Promonad (Rev p :: REV j -> REV j -> Type) Source Github # | |