Module
Data.Profunctor.Monoidal
- Package
- purescript-profunctor-extra
- Repository
- mcneissue/purescript-profunctor-extra
#Semigroupal Source
class (Associative l c, Associative r c, Associative o c, Profunctor p) <= Semigroupal c l r o p where
Members
pzip :: forall g f e d. c (o (p d e) (p f g)) (p (l d f) (r e g))
Instances
(Apply f) => Semigroupal Function Tuple Tuple Tuple (Joker f)
(Alt f) => Semigroupal Function Either Either Tuple (Joker f)
(Functor f) => Semigroupal Function Either Either Either (Joker f)
(Apply f) => Semigroupal Function Tuple Tuple Tuple (Star f)
(Functor f) => Semigroupal Function Either Either Tuple (Star f)
(Alternative f) => Semigroupal Function Either Either Either (Star f)
#Unital Source
class (Profunctor p) <= Unital c l r o p where
Members
punit :: c o (p l r)
Instances
(Applicative f) => Unital Function Unit Unit Unit (Joker f)
(Alternative f) => Unital Function Void Void Unit (Joker f)
(Functor f) => Unital Function Void Void Void (Joker f)
(Applicative f) => Unital Function Unit Unit Unit (Star f)
(Functor f) => Unital Function Void Void Unit (Star f)
(Alternative f) => Unital Function Void Void Void (Star f)
#Monoidal Source
class (Tensor l il c, Tensor r ir c, Tensor o io c, Semigroupal c l r o p, Unital c il ir io p) <= Monoidal c l il r ir o io p
Instances
(Applicative f) => Monoidal Function Tuple Unit Tuple Unit Tuple Unit (Joker f)
(Alternative f) => Monoidal Function Either Void Either Void Tuple Unit (Joker f)
(Functor f) => Monoidal Function Either Void Either Void Either Void (Joker f)
(Applicative f) => Monoidal Function Tuple Unit Tuple Unit Tuple Unit (Star f)
(Functor f) => Monoidal Function Either Void Either Void Tuple Unit (Star f)
(Alternative f) => Monoidal Function Either Void Either Void Either Void (Star f)