| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Profunctor.Star
Documentation
data Star' (f :: j .-> k) (a :: k) (b :: j) where Source Comments #
Constructors
| Star' :: forall {j} {k} (b :: j) (a :: k) (f1 :: j -> k). Ob b => (a ~> f1 b) -> Star' ('NT f1) a b |
Instances
| Functor f => Strong Type (Star f :: Type -> Type -> Type) Source Comments # | |
| (Functor f, Applicative f) => Strong (SUBCAT Traversable) (Star (Prelude f) :: Type -> Type -> Type) Source Comments # | |
| (Functor f, Thin j, Discrete k) => ThinProfunctor (Star f :: k -> j -> Type) Source Comments # | |
| (Applicative f, Monoidal j, Monoidal k) => MonoidalProfunctor (Star f :: k -> j -> Type) Source Comments # | |
| Functor f => Profunctor (Star f :: k -> j -> Type) Source Comments # | |
| Corepresentable (Star ((->) a) :: Type -> Type -> Type) Source Comments # | The left adjoint of |
| Functor f => Representable (Star f :: k -> j -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Star | |
| Functor f => Proadjunction (Star f :: k -> j -> Type) (Costar f :: j -> k -> Type) Source Comments # | |
| Traversable (Star Maybe) Source Comments # | |
| Traversable (Star []) Source Comments # | |
| Monad m => Promonad (Star (Prelude m) :: Type -> Type -> Type) Source Comments # | |
| Monad m => Strong Type (Updating a b :: Type -> KlCat m -> Type) Source Comments # | |
| (Alternative f, Monoidal k, Distributive j) => MonoidalProfunctor (CoprodDom (Star f) :: k -> COPROD j -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Star | |
| Monad m => Profunctor (Updating a b :: Type -> KlCat m -> Type) Source Comments # | |
| (Functor f, HasCoproducts j, HasCoproducts k) => MonoidalProfunctor (Coprod (Star f) :: COPROD k -> COPROD j -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Star | |
| (CategoryOf j, CategoryOf k) => Functor (Star' :: (j .-> k) -> k -> j -> Type) Source Comments # | |
| Profunctor j2 => Corepresentable (Star (Ran ('OP j2) :: (i +-> k) -> k -> j1 -> Type) :: (k -> j1 -> Type) -> (i +-> k) -> Type) Source Comments # | The right Kan extension is the right adjoint of the precomposition functor. |
Defined in Proarrow.Profunctor.Ran Methods coindex :: forall (a :: k -> j1 -> Type) (b :: i +-> k). Star (Ran ('OP j2) :: (i +-> k) -> k -> j1 -> Type) a b -> (Star (Ran ('OP j2) :: (i +-> k) -> k -> j1 -> Type) %% a) ~> b Source Comments # cotabulate :: forall (a :: k -> j1 -> Type) (b :: i +-> k). Ob a => ((Star (Ran ('OP j2) :: (i +-> k) -> k -> j1 -> Type) %% a) ~> b) -> Star (Ran ('OP j2) :: (i +-> k) -> k -> j1 -> Type) a b Source Comments # corepMap :: forall (a :: k -> j1 -> Type) (b :: k -> j1 -> Type). (a ~> b) -> (Star (Ran ('OP j2) :: (i +-> k) -> k -> j1 -> Type) %% a) ~> (Star (Ran ('OP j2) :: (i +-> k) -> k -> j1 -> Type) %% b) Source Comments # | |
| Profunctor j2 => Corepresentable (Star (Rift ('OP j2) :: (j1 +-> i) -> k -> j1 -> Type) :: (k -> j1 -> Type) -> (j1 +-> i) -> Type) Source Comments # | The right Kan lift is the right adjoint of the postcomposition functor. |
Defined in Proarrow.Profunctor.Rift Methods coindex :: forall (a :: k -> j1 -> Type) (b :: j1 +-> i). Star (Rift ('OP j2) :: (j1 +-> i) -> k -> j1 -> Type) a b -> (Star (Rift ('OP j2) :: (j1 +-> i) -> k -> j1 -> Type) %% a) ~> b Source Comments # cotabulate :: forall (a :: k -> j1 -> Type) (b :: j1 +-> i). Ob a => ((Star (Rift ('OP j2) :: (j1 +-> i) -> k -> j1 -> Type) %% a) ~> b) -> Star (Rift ('OP j2) :: (j1 +-> i) -> k -> j1 -> Type) a b Source Comments # corepMap :: forall (a :: k -> j1 -> Type) (b :: k -> j1 -> Type). (a ~> b) -> (Star (Rift ('OP j2) :: (j1 +-> i) -> k -> j1 -> Type) %% a) ~> (Star (Rift ('OP j2) :: (j1 +-> i) -> k -> j1 -> Type) %% b) Source Comments # | |
| Procomonad j => Promonad (Star (Ran ('OP j) :: (i +-> k) -> k -> i -> Type) :: (k -> i -> Type) -> (i +-> k) -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Ran Methods id :: forall (a :: k -> i -> Type). Ob a => Star (Ran ('OP j) :: (i +-> k) -> k -> i -> Type) a a Source Comments # (.) :: forall (b :: k -> i -> Type) (c :: k -> i -> Type) (a :: k -> i -> Type). Star (Ran ('OP j) :: (i +-> k) -> k -> i -> Type) b c -> Star (Ran ('OP j) :: (i +-> k) -> k -> i -> Type) a b -> Star (Ran ('OP j) :: (i +-> k) -> k -> i -> Type) a c Source Comments # | |
| Profunctor p => Promonad (Star ((:+:) p) :: (k -> j -> Type) -> (j +-> k) -> Type) Source Comments # | |
| Promonad (Star (Coyoneda :: (j +-> k) -> k -> j -> Type) :: (k -> j -> Type) -> (j +-> k) -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Coyoneda Methods id :: forall (a :: k -> j -> Type). Ob a => Star (Coyoneda :: (j +-> k) -> k -> j -> Type) a a Source Comments # (.) :: forall (b :: k -> j -> Type) (c :: k -> j -> Type) (a :: k -> j -> Type). Star (Coyoneda :: (j +-> k) -> k -> j -> Type) b c -> Star (Coyoneda :: (j +-> k) -> k -> j -> Type) a b -> Star (Coyoneda :: (j +-> k) -> k -> j -> Type) a c Source Comments # | |
| Promonad (Star (Yoneda :: (j +-> k) -> k -> j -> Type) :: (k -> j -> Type) -> (j +-> k) -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Yoneda Methods id :: forall (a :: k -> j -> Type). Ob a => Star (Yoneda :: (j +-> k) -> k -> j -> Type) a a Source Comments # (.) :: forall (b :: k -> j -> Type) (c :: k -> j -> Type) (a :: k -> j -> Type). Star (Yoneda :: (j +-> k) -> k -> j -> Type) b c -> Star (Yoneda :: (j +-> k) -> k -> j -> Type) a b -> Star (Yoneda :: (j +-> k) -> k -> j -> Type) a c Source Comments # | |
| Procomonad j2 => Promonad (Star (Rift ('OP j2) :: (j1 +-> k) -> k -> j1 -> Type) :: (k -> j1 -> Type) -> (j1 +-> k) -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Rift Methods id :: forall (a :: k -> j1 -> Type). Ob a => Star (Rift ('OP j2) :: (j1 +-> k) -> k -> j1 -> Type) a a Source Comments # (.) :: forall (b :: k -> j1 -> Type) (c :: k -> j1 -> Type) (a :: k -> j1 -> Type). Star (Rift ('OP j2) :: (j1 +-> k) -> k -> j1 -> Type) b c -> Star (Rift ('OP j2) :: (j1 +-> k) -> k -> j1 -> Type) a b -> Star (Rift ('OP j2) :: (j1 +-> k) -> k -> j1 -> Type) a c Source Comments # | |
| type (Star ((->) a) :: Type -> Type -> Type) %% (b :: Type) Source Comments # | |
| type (Star f :: k -> j -> Type) % (a :: j) Source Comments # | |
Defined in Proarrow.Profunctor.Star | |
| type HasArrow (Star f :: k -> j -> Type) (a :: k) (b :: j) Source Comments # | |
Defined in Proarrow.Profunctor.Star | |
| type (Star (Ran ('OP j2) :: (i +-> k) -> k -> j1 -> Type) :: (k -> j1 -> Type) -> (i +-> k) -> Type) %% (p :: k -> j1 -> Type) Source Comments # | |
| type (Star (Rift ('OP j2) :: (j1 +-> i) -> k -> j1 -> Type) :: (k -> j1 -> Type) -> (j1 +-> i) -> Type) %% (p :: k -> j1 -> Type) Source Comments # | |
pattern Star :: forall {j} {k} b a (f :: j -> k). () => Ob b => (a ~> f b) -> Star f a b Source Comments #
composeStar :: forall {k} {j} (f :: k -> Type) (g :: j -> k). Functor f => (Star f :.: Star g) :~> Star (Compose f g) Source Comments #
data CoprodDom (p :: j +-> k) (a :: k) (b :: COPROD j) where Source Comments #
Constructors
| Co | |
Instances
| (Alternative f, Monoidal k, Distributive j) => MonoidalProfunctor (CoprodDom (Star f) :: k -> COPROD j -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Star | |
| Profunctor p => Profunctor (CoprodDom p :: k -> COPROD j -> Type) Source Comments # | |