on-a-horse-0.1: "Haskell on a Horse" - A combinatorial web frameworkSource codeContentsIndex
Control.Arrow.Transformer.Automaton.Monad
Documentation
monadToAuto :: (ArrowAddAutomaton a a', ArrowApply a') => (i -> ContT (o, a i o) (ArrowMonad a') z) -> a i oSource
co :: (ArrowApply a', ArrowAddAutomaton a a') => o -> ContT (o, a i o) (ArrowMonad a') iSource
autoToMonad :: (ArrowApply a', ArrowAddAutomaton a a') => a i (Either o z) -> i -> ContT (o, a i o) (ArrowMonad a') zSource
readerArrow :: Arrow a => a (e, r) b -> ReaderArrow r a e bSource
swapsnd :: ((a, b), c) -> ((a, c), b)Source
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 ArrowAddAutomaton a a' | a -> 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
show/hide Instances
dispatch :: (Ord k, ArrowAddAutomaton a a', ArrowApply a') => (k -> a i o) -> a (i, k) oSource
Produced by Haddock version 2.6.1