mirror of
https://gitlab.com/scemama/QCaml.git
synced 2024-09-01 17:23:41 +02:00
15 lines
462 B
OCaml
15 lines
462 B
OCaml
|
(** The Farm skeleton, similar to SklMl.
|
||
|
|
||
|
The input is a stream of input data, and the output is a stream of data.
|
||
|
*)
|
||
|
|
||
|
|
||
|
val run : ?ordered:bool -> f:('a -> 'b) -> 'a Stream.t -> 'b Stream.t
|
||
|
(** Run the [f] function on every process by popping elements from the
|
||
|
input stream, and putting the results on the output stream. If [ordered]
|
||
|
(the default is [ordered = true], then the order of the output is kept
|
||
|
consistent with the order of the input.
|
||
|
*)
|
||
|
|
||
|
|