Module

Data.Functor.Monoidal

Package
purescript-monoidal
Repository
mcneissue/purescript-monoidal

#Semigroupal Source

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 Source

class Unital cat i1 io f  where

Members

Instances

#Monoidal Source

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