title: toString() equivalent in OCaml
body: <p>I am new to OCaml and trying to debug some OCaml code.
  Is there any function in OCaml equivalent to <code>toString()</code> function in Java by which most of the objects can be printed as output?</p>