1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-08 14:06:00 +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

17 lines
364 B
Markdown

# 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}}`