Safe Haskell | None |
---|---|
Language | Haskell2010 |
Proarrow.Promonad.Cont
Documentation
newtype Cont r a b Source Comments #
Instances
Strong Type (Cont r :: Type -> Type -> Type) Source Comments # | |
MonoidalProfunctor (Cont r :: Type -> Type -> Type) Source Comments # | Only premonoidal not monoidal? |
Profunctor (Cont r :: Type -> Type -> Type) Source Comments # | |
Promonad (Cont r :: Type -> Type -> Type) Source Comments # | |
StarAutonomous (KLEISLI (Cont r)) Source Comments # | |
Defined in Proarrow.Promonad.Cont Methods dual :: forall (a :: KLEISLI (Cont r)) (b :: KLEISLI (Cont r)). (a ~> b) -> Dual b ~> Dual a Source Comments # dualInv :: forall (a :: KLEISLI (Cont r)) (b :: KLEISLI (Cont r)). (Ob a, Ob b) => (Dual a ~> Dual b) -> b ~> a Source Comments # linDist :: forall (a :: KLEISLI (Cont r)) (b :: KLEISLI (Cont r)) (c :: KLEISLI (Cont r)). (Ob a, Ob b, Ob c) => ((a ** b) ~> Dual c) -> a ~> Dual (b ** c) Source Comments # linDistInv :: forall (a :: KLEISLI (Cont r)) (b :: KLEISLI (Cont r)) (c :: KLEISLI (Cont r)). (Ob a, Ob b, Ob c) => (a ~> Dual (b ** c)) -> (a ** b) ~> Dual c Source Comments # | |
Closed (KLEISLI (Cont r)) Source Comments # | |
Defined in Proarrow.Promonad.Cont Methods withObExp :: forall (a :: KLEISLI (Cont r)) (b :: KLEISLI (Cont r)) r0. (Ob a, Ob b) => (Ob (a ~~> b) => r0) -> r0 Source Comments # curry :: forall (a :: KLEISLI (Cont r)) (b :: KLEISLI (Cont r)) (c :: KLEISLI (Cont r)). (Ob a, Ob b) => ((a ** b) ~> c) -> a ~> (b ~~> c) Source Comments # uncurry :: forall (b :: KLEISLI (Cont r)) (c :: KLEISLI (Cont r)) (a :: KLEISLI (Cont r)). (Ob b, Ob c) => (a ~> (b ~~> c)) -> (a ** b) ~> c Source Comments # (^^^) :: forall (a :: KLEISLI (Cont r)) (b :: KLEISLI (Cont r)) (x :: KLEISLI (Cont r)) (y :: KLEISLI (Cont r)). (b ~> y) -> (x ~> a) -> (a ~~> b) ~> (x ~~> y) Source Comments # | |
type (a :: KLEISLI (Cont r)) ~~> (b :: KLEISLI (Cont r)) Source Comments # | |
type Dual ('KL a :: KLEISLI (Cont r)) Source Comments # | |