Just a quick question. I'm wondering if there is a infix function composition operator in OCaml defined in the standard library (or in Jane Street's Core or in Batteries) like the (.) function in Haskell which saves us a lot parentheses since we can write (f . g . h) x
instead of the less appealing f (g (h x)))
.
Thanks folks.
compose
function in the source file of Jane Street's Core.Std.Fn (c.f. github.com/janestreet/core/blob/master/lib/fn.mli, line 31). Thank you. – Bloodthirsty