Module

Data.Functor.Monoidal

#Semigroupal

class (Associative t1 cat, Associative to cat) <= Semigroupal cat t1 to f  where

Members

  • combine :: forall x x'. cat (to (f x) (f x')) (f (t1 x x'))

Instances

#Unital

class Unital cat i1 io f  where

Members

Instances

#Monoidal

class (Tensor t1 i1 cat, Tensor to io cat, Semigroupal cat t1 to f, Unital cat i1 io f) <= Monoidal cat t1 i1 to io f 

Instances

Modules