1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/ocaml.md
Managor 8e09a08059
common*: refresh old pages part 3 (#16257)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-04-25 21:19:03 +03:00

364 B

ocaml

The OCaml repl (read-evaluate-print-loop). Interprets Ocaml commands. More information: https://manned.org/ocaml.

  • 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}}