How to run OCaml + Core script?
问题 I am trying the Real World OCaml book. It talks about installing OPAM, then OCaml and Jane Street Core. I got utop loaded properly per the book instructions so that it automatically loads Core. Without Core, I can run a generic OCaml script simply by ocaml script.ml without compiling. But this doesn't work if the script uses Core. What's the right command if I want to run a Core based OCaml script without compiling? 回答1: Running a script that depends on additional libraries requires you to