on-a-horse-0.2: "Haskell on a Horse" - A combinatorial web frameworkSource codeContentsIndex
Control.Arrow.Transformer.Automaton.Monad
Documentation
readerArrow :: Arrow a => a (e, r) b -> ReaderArrow r a e bSource
swapsnd :: ((a, b), c) -> ((a, c), b)Source
autoToMonad :: (ArrowApply a', ArrowAddAutomaton a may a') => a i (Either o z) -> i -> ContT (o, a i o) (ArrowMonad a') zSource
co :: (ArrowApply a', ArrowAddAutomaton a may a') => o -> ContT (o, a i o) (ArrowMonad a') iSource
monadToAuto :: (ArrowAddAutomaton a may a', ArrowApply a') => (i -> ContT (o, a i o) (ArrowMonad a') z) -> a i oSource
pushError :: ArrowChoice a => a e (Either ex b) -> ErrorArrow ex a e bSource
popError :: ArrowChoice a => ErrorArrow ex a e b -> a e (Either ex b)Source
rstrength :: (Either ex a, b) -> Either ex (a, b)Source
class (ArrowChoice a, ArrowChoice may, ArrowChoice a', ArrowApply a') => ArrowAddAutomaton a may a' | a -> a', a -> may, may -> a whereSource
Methods
elimAutomaton :: a i o -> a' i (o, a i o)Source
liftAutomaton :: a' i (o, a i o) -> a i oSource
constantAutomaton :: a' i o -> a i oSource
toMaybeAutomaton :: a i o -> may i oSource
fromMaybeAutomaton :: may i o -> a i oSource
liftMaybeAutomaton :: a' i (o, Maybe (a i o)) -> may i oSource
elimMaybeAutomaton :: may i o -> a' i (o, Maybe (a i o))Source
show/hide Instances
dispatch :: (ArrowAddAutomaton a may a', Ord k) => (k -> may i o) -> may (i, k) oSource
Produced by Haddock version 2.6.1