| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.Bifunctor.Assoc
Documentation
class Bifunctor p => Assoc p where Source #
"Semigroup-y" Bifunctors.
assoc.unassoc=idunassoc.assoc=idassoc.bimap(bimapf g) h =bimapf (bimapg h) .assoc
This library doesn't provide Monoidal class, with left and right unitors.
Are they useful in practice?