profunctor-misc-0.0.0.1: Profunctor miscellany
Data.Profunctor.Arrow
(***) :: Category p => Strong p => p a1 b1 -> p a2 b2 -> p (a1, a2) (b1, b2) infixr 3 Source #
(+++) :: Category p => Choice p => p a1 b1 -> p a2 b2 -> p (a1 + a2) (b1 + b2) infixr 2 Source #
(&&&) :: Category p => Strong p => p a b1 -> p a b2 -> p a (b1, b2) infixr 3 Source #
(|||) :: Category p => Choice p => p a1 b -> p a2 b -> p (a1 + a2) b infixr 2 Source #
($$$) :: Category p => Strong p => p a (b -> c) -> p a b -> p a c infixr 0 Source #
pselect :: Category p => Choice p => ((b1 + b2) -> b) -> p a b1 -> p a b2 -> p a b Source #
pchoose :: Category p => Choice p => (a -> a1 + a2) -> p a1 b -> p a2 b -> p a b Source #