Pass Channels, Processes, etc
Channels and processes etc. are first class values, so they can be computed, passed as parameters, and passed down channels, of course.
- In the following artificial example
- outputB is an action to output 'B' on a fixed channel, here stdOp,
- outputX uses a fixed channel, stdOp again, but is parameterised on the value, X,
- inputX is an input action.
- procE is a process.
- outputX uses a fixed channel, stdOp again, but is parameterised on the value, X,
- The sender process gives these actions and process to the receiver process which makes use of them.