| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Profunctor.Instance.Identity
Documentation
newtype Id (a :: k) (b :: k) Source Github #
Instances
| (MonoidalAction t, Costrong t (Hom k)) => Costrong (t :: (m, k) +-> k) (Id :: k -> k -> Type) Source Github # | |||||
| MonoidalAction t => Strong (t :: (m, k) +-> k) (Id :: k -> k -> Type) Source Github # | |||||
| Thin k => ThinProfunctor (Id :: k -> k -> Type) Source Github # | |||||
| Monoidal k => MonoidalProfunctor (Id :: k -> k -> Type) Source Github # | |||||
| CategoryOf k => Profunctor (Id :: k -> k -> Type) Source Github # | |||||
Defined in Proarrow.Profunctor.Instance.Identity Methods dimap :: forall (c :: k) (a :: k) (b :: k) (d :: k). (c ~> a) -> (b ~> d) -> Id a b -> Id c d Source Github # lmap :: forall (c :: k) (a :: k) (b :: k). (c ~> a) -> Id a b -> Id c b Source Github # rmap :: forall (b :: k) (d :: k) (a :: k). (b ~> d) -> Id a b -> Id a d Source Github # (\\) :: forall (a :: k) (b :: k) r. ((Ob a, Ob b) => r) -> Id a b -> r Source Github # | |||||
| CategoryOf k => Corepresentable (Id :: k -> k -> Type) Source Github # | |||||
Defined in Proarrow.Profunctor.Instance.Identity Methods coindex :: forall (a :: k) (b :: k). Id a b -> ((Id :: k -> k -> Type) %% a) ~> b Source Github # cotabulate :: forall (a :: k) (b :: k). Ob a => (((Id :: k -> k -> Type) %% a) ~> b) -> Id a b Source Github # corepMap :: forall (a :: k) (b :: k). (a ~> b) -> ((Id :: k -> k -> Type) %% a) ~> ((Id :: k -> k -> Type) %% b) Source Github # corepUniv :: forall (a :: k). Ob a => Id a ((Id :: k -> k -> Type) %% a) Source Github # | |||||
| CategoryOf k => Representable (Id :: k -> k -> Type) Source Github # | |||||
Defined in Proarrow.Profunctor.Instance.Identity Methods index :: forall (a :: k) (b :: k). Id a b -> a ~> ((Id :: k -> k -> Type) % b) Source Github # tabulate :: forall (b :: k) (a :: k). Ob b => (a ~> ((Id :: k -> k -> Type) % b)) -> Id a b Source Github # repMap :: forall (a :: k) (b :: k). (a ~> b) -> ((Id :: k -> k -> Type) % a) ~> ((Id :: k -> k -> Type) % b) Source Github # repUniv :: forall (a :: k). Ob a => Id ((Id :: k -> k -> Type) % a) a Source Github # | |||||
| CategoryOf j => HasColimits (Id :: j -> j -> Type) k Source Github # | |||||
Defined in Proarrow.Colimit Methods colimit :: forall (d :: k +-> j). Corepresentable d => ((Id :: j -> j -> Type) :.: Colimit (Id :: j -> j -> Type) d) :~> d Source Github # colimitUniv :: forall (d :: k +-> j) (p :: k +-> j). (Corepresentable d, Profunctor p) => (((Id :: j -> j -> Type) :.: p) :~> d) -> p :~> Colimit (Id :: j -> j -> Type) d Source Github # | |||||
| CategoryOf j => HasLimits (Id :: j -> j -> Type) k Source Github # | |||||
Defined in Proarrow.Limit Methods limit :: forall (d :: j +-> k). Representable d => (Limit (Id :: j -> j -> Type) d :.: (Id :: j -> j -> Type)) :~> d Source Github # limitUniv :: forall (d :: j +-> k) (p :: j +-> k). (Representable d, Profunctor p) => ((p :.: (Id :: j -> j -> Type)) :~> d) -> p :~> Limit (Id :: j -> j -> Type) d Source Github # | |||||
| Comonad w => RelativeComonad (Id :: i -> i -> Type) (w :: i +-> i) Source Github # | |||||
| Monad m => RelativeMonad (Id :: i -> i -> Type) (m :: i +-> i) Source Github # | |||||
| CategoryOf k => Proadjunction (Id :: k -> k -> Type) (Id :: k -> k -> Type) Source Github # | |||||
| (SymMonoidal k, Ob s) => MonoidalProfunctor (State s :: k -> k -> Type) Source Github # | Note: This is only premonoidal, not monoidal. | ||||
| CategoryOf k => Involution (Id :: k -> k -> Type) Source Github # | |||||
| Dagger k => DaggerProfunctor (Id :: k -> k -> Type) Source Github # | |||||
| SymMonoidal k => IsReader (Id :: k -> k -> Type) Source Github # | |||||
Defined in Proarrow.Category.Equipment.Stateful Associated Types
| |||||
| SymMonoidal k => IsWriter (Id :: k -> k -> Type) Source Github # | |||||
Defined in Proarrow.Category.Equipment.Stateful Associated Types
| |||||
| CategoryOf k => Cotraversable (Id :: k -> k -> Type) Source Github # | |||||
Defined in Proarrow.Category.Monoidal.Distributive | |||||
| CategoryOf k => Traversable (Id :: k -> k -> Type) Source Github # | |||||
| CategoryOf k => Promonad (Id :: k -> k -> Type) Source Github # | |||||
| CategoryOf k => Procomonad (Id :: k -> k -> Type) Source Github # | |||||
| (HasZeroObject k, HasBiproducts k, Ob a, Ob b) => CommutativeMonoid (Id a b :: Type) Source Github # | |||||
Defined in Proarrow.Monoid | |||||
| (HasZeroObject k, HasBiproducts k, Ob a, Ob b) => Monoid (Id a b) Source Github # | |||||
| (HasZeroObject k, HasBiproducts k, Ob a, Ob b) => Semigroup (Id a b) Source Github # | |||||
| type Colimit (Id :: j -> j -> Type) (d :: k +-> j) Source Github # | |||||
Defined in Proarrow.Colimit | |||||
| type Limit (Id :: j -> j -> Type) (d :: j +-> k) Source Github # | |||||
Defined in Proarrow.Limit | |||||
| type (Id :: k -> k -> Type) %% (a :: k) Source Github # | |||||
Defined in Proarrow.Profunctor.Instance.Identity | |||||
| type (Id :: k -> k -> Type) % (a :: k) Source Github # | |||||
Defined in Proarrow.Profunctor.Instance.Identity | |||||
| type HasArrow (Id :: k -> k -> Type) (a :: k) (b :: k) Source Github # | |||||
| type WithReader (Id :: k -> k -> Type) Source Github # | |||||
Defined in Proarrow.Category.Equipment.Stateful | |||||
| type WithWriter (Id :: k -> k -> Type) Source Github # | |||||
Defined in Proarrow.Category.Equipment.Stateful | |||||