snippetbashTip
ocaml — The OCaml repl (read-evaluate-print-loop). Interprets Ocaml commands. More information: <https://man
Viewed 0 times
theocamlcommandevaluatereadclirepl
Problem
How to use the
ocaml command: The OCaml repl (read-evaluate-print-loop). Interprets Ocaml commands. More information: <https://manned.org/ocaml>.Solution
ocaml — The OCaml repl (read-evaluate-print-loop). Interprets Ocaml commands. More information: <https://manned.org/ocaml>.Read OCaml commands from the user and execute them:
ocamlRead 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}}Code Snippets
Read OCaml commands from the user and execute them
ocamlRead 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}}Context
tldr-pages: common/ocaml
Revisions (0)
No revisions yet.