mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 14:22:07 +02:00
17 lines
357 B
Markdown
17 lines
357 B
Markdown
# 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}}`
|