Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
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 (>>>)
newtype RevComposition c Source #
Monoid on reverse category composition (<<<)
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