machinecell-1.3.0: Arrow based stream transducers

Safe HaskellNone
LanguageHaskell2010

Control.Arrow.Machine.Core

Contents

Description

Extracted stuff to be used unqualified from ../Machine.hs.

Synopsis

Modules

The transducer arrow

data ProcessA a b c Source

The stream transducer arrow.

To construct ProcessA instances, use Plan, arr, functions declared in Utils, or arrow combinations of them.

May use ArrowChoice and ArrowLoop instance too. but there is a limitation that loop cannot propagate Events to upstream. In such case, use feedback instead.

fit :: (Arrow a, Arrow a') => (forall p q. a p q -> a' p q) -> ProcessA a b c -> ProcessA a' b c Source