| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Profunctor.Identity
Documentation
newtype Id (a :: k) (b :: k) Source Github #
Instances
| (MonoidalAction m k, Costrong m (Hom k)) => Costrong m (Id :: k -> k -> Type) Source Github # | |||||
| (MonoidalAction m k, Strong m (Hom k)) => Strong m (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.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.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 # trivialCorep :: 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.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 # trivialRep :: 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.Category.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.Category.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 # | |||||
| CategoryOf k => Proadjunction (Id :: k -> k -> Type) (Id :: k -> k -> Type) Source Github # | |||||
| Costrong (COPROD Type) (Id :: Type -> Type -> 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 # | |||||
| SelfAction k => IsReader (Id :: k -> k -> Type) Source Github # | |||||
Defined in Proarrow.Category.Equipment.Stateful Associated Types
| |||||
| SelfAction 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 | |||||
| Strong Type (Coprod (Id :: Type -> Type -> Type)) Source Github # | |||||
| HasCoproducts k => MonoidalProfunctor (Coprod (Id :: k -> k -> Type) :: COPROD k -> COPROD k -> Type) Source Github # | |||||
Defined in Proarrow.Object.BinaryCoproduct Methods par0 :: Coprod (Id :: k -> k -> Type) (Unit :: COPROD k) (Unit :: COPROD k) Source Github # par :: forall (x1 :: COPROD k) (x2 :: COPROD k) (y1 :: COPROD k) (y2 :: COPROD k). Coprod (Id :: k -> k -> Type) x1 x2 -> Coprod (Id :: k -> k -> Type) y1 y2 -> Coprod (Id :: k -> k -> Type) (x1 ** y1) (x2 ** y2) Source Github # | |||||
| (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.Category.Colimit | |||||
| type Limit (Id :: j -> j -> Type) (d :: j +-> k) Source Github # | |||||
Defined in Proarrow.Category.Limit | |||||
| type (Id :: k -> k -> Type) %% (a :: k) Source Github # | |||||
Defined in Proarrow.Profunctor.Identity | |||||
| type (Id :: k -> k -> Type) % (a :: k) Source Github # | |||||
Defined in Proarrow.Profunctor.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 | |||||