Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data Star (f :: k1 -> k2) (a :: k2) (b :: k1) where Source Comments #
Instances
Functor f => Strong (->) (Star f :: Type -> Type -> Type) Source Comments # | |
Monad m => Strong (->) (Updating a b :: Type -> KlCat m -> Type) Source Comments # | |
(Applicative f, Cartesian j, Cartesian k) => MonoidalProfunctor (Star f :: k -> j -> Type) Source Comments # | |
Functor f => Profunctor (Star f :: j -> k -> Type) Source Comments # | |
Functor f => Representable (Star f :: k -> j -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Star | |
Adjunction (Star ((,) a) :: Type -> Type -> Type) (Star ((->) a) :: Type -> Type -> Type) Source Comments # | |
Functor f => Adjunction (Star f :: k -> j -> Type) (Costar f :: j -> k -> Type) Source Comments # | |
Monad m => Profunctor (Updating a b :: Type -> KlCat m -> Type) Source Comments # | |
Monad m => Promonad (Star (Prelude m) :: Type -> Type -> Type) Source Comments # | |
(Alternative f, Cartesian k, Cocartesian j) => MonoidalProfunctor (CoprodDom (Star f) :: k -> COPROD j -> Type) Source Comments # | |
Profunctor j => Adjunction (Star ((:.:) j :: (i2 +-> k) -> i1 -> i2 -> Type) :: (i1 -> i2 -> Type) -> (i2 +-> k) -> Type) (Star (Rift ('OP j) :: (i2 +-> i1) -> k -> i2 -> Type) :: (k -> i2 -> Type) -> (i2 +-> i1) -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Rift unit :: forall (a :: i2 +-> k). Ob a => (Star (Rift ('OP j) :: (i2 +-> i1) -> k -> i2 -> Type) :.: Star ((:.:) j :: (i2 +-> k) -> i1 -> i2 -> Type)) a a Source Comments # counit :: (Star ((:.:) j :: (i2 +-> k) -> i1 -> i2 -> Type) :.: Star (Rift ('OP j) :: (i2 +-> i1) -> k -> i2 -> Type)) :~> ((~>) :: CAT (i1 -> i2 -> Type)) Source Comments # | |
Profunctor j2 => Adjunction (Star (Precompose j2 :: (j1 +-> k) -> k -> i -> Type) :: (k -> i -> Type) -> (j1 +-> k) -> Type) (Star (Ran ('OP j2) :: (i +-> k) -> k -> j1 -> Type) :: (k -> j1 -> Type) -> (i +-> k) -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Ran unit :: forall (a :: j1 +-> k). Ob a => (Star (Ran ('OP j2) :: (i +-> k) -> k -> j1 -> Type) :.: Star (Precompose j2 :: (j1 +-> k) -> k -> i -> Type)) a a Source Comments # counit :: (Star (Precompose j2 :: (j1 +-> k) -> k -> i -> Type) :.: Star (Ran ('OP j2) :: (i +-> k) -> k -> j1 -> Type)) :~> ((~>) :: CAT (k -> i -> Type)) Source Comments # | |
type (Star f :: k -> j -> Type) % (a :: j) Source Comments # | |
Defined in Proarrow.Profunctor.Star |
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 #
Instances
Profunctor p => Profunctor (CoprodDom p :: j1 -> COPROD j2 -> Type) Source Comments # | |
(Alternative f, Cartesian k, Cocartesian j) => MonoidalProfunctor (CoprodDom (Star f) :: k -> COPROD j -> Type) Source Comments # | |