ocaml: add example to run script with modules (#7478)

feature/windows-fix-syntax-2
hellojukay 2021-11-25 19:20:05 +08:00 committed by GitHub
parent ebaecf2765
commit 7c8d1d5aa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -11,3 +11,7 @@
- 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}}`