mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 12:56:52 +00:00
Update cheatsheets
This commit is contained in:
22
ocaml
Normal file
22
ocaml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user