ยค listF

Plumbing: tagged parallel composition

Types

listF :: Eq a => [(a, F b c)] -> F (a, b) (a, c)

Synopsis

listF tagged_fudgets

Description

Fudgets composed with listF operate in parallel, indepdenetly of one another. The high level output streams from the individual fudgets are tagged and merged into a single stream. The input stream, which must be tagged, is split up and fed to the appropriate fudget.

Input

A message (tag,msg) is sent to the fudget tagged tag.

Output

A message (tag,msg) comes from the fudget tagged tag.

Arguments

tagged_fudgets :: [(a, F b c)]
a list of tagged fudgets. The same tag should not appear more than once the list.

See Also