ocaml
The OCaml repl (read-evaluate-print-loop). Interprets Ocaml commands. More information: https://ocaml.org.
-
Read OCaml commands from the user and execute them:
ocaml
-
Read OCaml commands from a file and execute them:
ocaml {{path/to/file.ml}}
-
Run OCaml script with modules:
ocaml {{module1}} {{module2}} {{path/to/file.ml}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.