loopCompSP :: SP (Either (Either a b) (Either c d)) (Either (Either c e) (Either a f)) -> SP (Either b d) (Either e f) loopThroughBothSP :: SP (Either a b) (Either c d) -> SP (Either c e) (Either a f) -> SP (Either b e) (Either d f)
loopCompSP
is a symmetric version of loopCompThroughRightSP. When
applied to a parallel composition of two fudgets it allows the fudgets
to communicate both with the outside world and with each other.
loopThroughBothSP sp1 sp2 = loopCompSP (sp1 -+- sp2)
The corresponding fudget combinator: loopCompF.
Parallel composition of stream processors: -+-