Maintainer | Ertugrul Soeylemez <es@ertes.de> |
---|
Wires for splitting and terminating computations.
Simple splitters
fork :: (ArrowChoice >~, ArrowPlus >~, Monoid e) => Wire e >~ [b] bSource
Takes the input list and forks the wire for each value. Also forks a single inhibiting wire. Warning: Incorrect usage will cause space leaks! Use with care!
- Depends: Current instant
- Inhibits: Always in one thread, never in all others.
- Threads: Length of input list + 1.