In F# I can\'t live without pipes (<| and |>)
let console(dashboard : Dashboard ref) =
let rec eat (command : string) =
These are available since OCaml 4.01. However, <| is named @@ there, so it has the correct operator associativity.
Alternatively, you can either define them yourself:
let (|>) v f = f v
let (<|) f v = f v (* or: *)
let (@@) f v = f v
Or you use Ocaml batteries included, which has the |> and <| operators defined in BatStd.