This example assumes you've installed OCaml.
Compiling OCaml Code
Create a new file named hello.ml, with the following contents:
print_string "Hello world!\n"
ocamlc is the OCaml compiler. To compile and run this script, run
$ ocamlc -o hello hello.ml
and then execute the resulti...