What does |> do?
问题 From Real World OCaml , page 38(see https://realworldocaml.org/v1/en/html/variables-and-functions.html#prefix-and-infix-operators). It defines a function: # let (|>) x f = f x ;; and applied it to strings: # let path = "/usr/bin:/usr/local/bin:/bin:/sbin";; val path : string = "/usr/bin:/usr/local/bin:/bin:/sbin" # String.split ~on:':' path |> List.dedup ~compare:String.compare |> List.iter ~f:print_endline ;; /bin /sbin /usr/bin /usr/local/bin - : unit = () I am wondering - what does the