| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Proarrow.Profunctor.Star
Documentation
data Star (f :: k1 -> k2) (a :: k2) (b :: k1) where Source Comments #
Constructors
| Star | |
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 | |
| 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, Distributive j, Distributive k) => MonoidalProfunctor (Coprod (Star f) :: COPROD k -> COPROD j -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Star | |
| Profunctor j2 => Corepresentable (Star (Ran ('OP j2) :: (i +-> k) -> k -> j1 -> Type) :: (k -> j1 -> Type) -> (i +-> k) -> Type) Source Comments # | |
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 # | |
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 # | |
| 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 # | |
composeStar :: forall {k} {k1} (f :: k -> Type) (g :: k1 -> 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 # | |