Commits

camlspotter committed f2f05c9

example commented

  • Participants
  • Parent commits 3892499

Comments (0)

Files changed (1)

+(* open Opycaml.Api is recommended. *)
 open Opycaml.Api
 
 let _ =
 
   let res = Object.callObject (Callable.coerce capitalize) [lowercase] in
 
+  (* String class is not accessible by String but Py.String, in order
+     to avoid the name space collision with String in OCaml standard
+     library. *)
   prerr_endline (Py.String.asString (Py.String.coerce res));
 
   Base.finalize ()