2025-03-14 21:59:59 -06:00
|
|
|
# ocaml
|
|
|
|
|
|
|
|
|
|
> The OCaml repl (read-evaluate-print-loop).
|
|
|
|
|
> Interprets Ocaml commands.
|
2025-05-08 12:26:01 -06:00
|
|
|
> More information: <https://manned.org/ocaml>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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}}`
|