Re:The Big Oops: Anatomy of a Thirty-Five Year Mistake
by roland-s on Monday August 04, 2025 @05:24PM
(#44791536)
The pipe operator eliminates the syntax problem.
Ocaml example:
let increment x = x + 1
let square x = x \* x
let to_string x = string_of_int x
let result = 5 |> increment |> square |> to_string
(\* result will be "36" \*)
Ocaml example: