commands.sh

ocaml

all

The OCaml repl (read-evaluate-print-loop). Interprets Ocaml commands.

More info →

Examples (3)

Read OCaml commands from the user and execute them

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
made by @shridhargupta | data from tldr-pages