Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Data.Monoid.Category
Description
Monoids on category composition.
Issue #3
- newtype Composition c = Composition {
- getComposition :: c
- newtype RevComposition c = RevComposition {
- getRevComposition :: c
- composeMany :: (Alternative m, Category cat) => m (cat a a) -> m (cat a a)
- invComposeMany :: (Alternative m, Category cat) => m (cat a a) -> m (cat a a)
Documentation
newtype Composition c Source #
Monoid on category composition (>>>)
Constructors
Composition | |
Fields
|
newtype RevComposition c Source #
Monoid on reverse category composition (<<<)
Constructors
RevComposition | |
Fields
|
composeMany :: (Alternative m, Category cat) => m (cat a a) -> m (cat a a) Source #
Alternatives accumulator many
for Composition
invComposeMany :: (Alternative m, Category cat) => m (cat a a) -> m (cat a a) Source #
Alternatives accumulator many
for RevComposition