All Posts programming OCaml Repl commands

OCaml Repl commands

ยท 103 words ยท 1 minute read

What is OCaml repl ? ๐Ÿ”—

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

More information: https://manned.org/ocaml .

Usage ๐Ÿ”—

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

I hope you enjoyed reading this post as much as I enjoyed writing it. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , and GitHub .