Functionally farm f has type
Given the input stream :xn:...:x1:x0: the farm farm(f,n) computes the output stream :f(xn):...:f(x1):f(x0): by using n worker processes
In terms of (parallel) processes, a sequence of data appearing onto the input stream of a farm is submitted to a set of worker processes. Each worker process applies the same function to the data items received and delivers the result onto the output stream. The resulting process network looks like the following:
Back to the skeleton set page.