Safe Haskell | None |
---|---|
Language | Haskell2010 |
Proarrow.Profunctor.Star
Documentation
data Star (f :: k1 -> k2) (a :: k2) (b :: k1) where Source Comments #
Constructors
Star | |
Instances
Monad m => Tambara (->) (Updating a b :: Type -> KlCat m -> Type) Source Comments # | |
Alternative f => Proalternative (Star f :: j -> k -> Type) Source Comments # | |
Applicative f => Proapplicative (Star f :: j -> k -> Type) Source Comments # | |
Functor f => Profunctor (Star f :: j -> k -> Type) Source Comments # | |
Functor f => Representable (Star f :: j -> k -> 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 => MonoidalAction Type (KlCat m) Source Comments # | |
Defined in Proarrow.Category.Monoidal.Optic Methods act :: forall p q (x :: KlCat m) (y :: KlCat m). (p ~> q) -> (x ~> y) -> Act p x ~> Act q y Source Comments # unitor :: forall (x :: KlCat m). Obj x -> Act (Unit :: Type) x ~> x Source Comments # unitorInv :: forall (x :: KlCat m). Obj x -> x ~> Act (Unit :: Type) x Source Comments # multiplicator :: forall p q (x :: KlCat m). Obj p -> Obj q -> Obj x -> Act p (Act q x) ~> Act (p ** q) x Source Comments # multiplicatorInv :: forall p q (x :: KlCat m). Obj p -> Obj q -> Obj x -> Act (p ** q) x ~> Act p (Act q x) 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 # | |
Profunctor j => Adjunction (Star (Precompose j :: PRO i2 k -> i2 -> i1 -> Type) :: (i2 -> i1 -> Type) -> PRO i2 k -> Type) (Star (Rift ('OP j) :: PRO i2 i1 -> i2 -> k -> Type) :: (i2 -> k -> Type) -> PRO i2 i1 -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Rift Methods unit :: forall (a :: PRO i2 k). Ob a => (Star (Rift ('OP j) :: PRO i2 i1 -> i2 -> k -> Type) :.: Star (Precompose j :: PRO i2 k -> i2 -> i1 -> Type)) a a Source Comments # counit :: (Star (Precompose j :: PRO i2 k -> i2 -> i1 -> Type) :.: Star (Rift ('OP j) :: PRO i2 i1 -> i2 -> k -> Type)) :~> ((~>) :: CAT (i2 -> i1 -> Type)) Source Comments # | |
Profunctor j2 => Adjunction (Star ((:.:) j2 :: PRO j1 k -> i -> k -> Type) :: (i -> k -> Type) -> PRO j1 k -> Type) (Star (Ran ('OP j2) :: PRO i k -> j1 -> k -> Type) :: (j1 -> k -> Type) -> PRO i k -> Type) Source Comments # | |
Defined in Proarrow.Profunctor.Ran Methods unit :: forall (a :: PRO j1 k). Ob a => (Star (Ran ('OP j2) :: PRO i k -> j1 -> k -> Type) :.: Star ((:.:) j2 :: PRO j1 k -> i -> k -> Type)) a a Source Comments # counit :: (Star ((:.:) j2 :: PRO j1 k -> i -> k -> Type) :.: Star (Ran ('OP j2) :: PRO i k -> j1 -> k -> Type)) :~> ((~>) :: CAT (i -> k -> Type)) Source Comments # | |
type (Star f :: j -> k -> Type) % (a :: k) Source Comments # | |
Defined in Proarrow.Profunctor.Star | |
type Act (p :: Type) ('KL x :: KLEISLI (Star (Prelude m))) Source Comments # | |