mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-05 20:35:43 +02:00
ocaml: add example to run script with modules (#7478)
This commit is contained in:
parent
ebaecf2765
commit
7c8d1d5aa2
1 changed files with 4 additions and 0 deletions
|
@ -11,3 +11,7 @@
|
||||||
- Read OCaml commands from a file and execute them:
|
- Read OCaml commands from a file and execute them:
|
||||||
|
|
||||||
`ocaml {{path/to/file.ml}}`
|
`ocaml {{path/to/file.ml}}`
|
||||||
|
|
||||||
|
- Run OCaml script with modules:
|
||||||
|
|
||||||
|
`ocaml {{module1}} {{module2}} {{path/to/file.ml}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue