mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-03 15:40:17 +00:00
9 lines
234 B
Plaintext
9 lines
234 B
Plaintext
# To compile into a bytecode executable:
|
|
# ocamlc hello.ml -o hello
|
|
# To compile into an optimized native-code executable:
|
|
# ocamlopt hello.ml -o hello
|
|
# Start ocaml interactive shell
|
|
# ocaml
|
|
#
|
|
print_endline "Hello World!\n" ;;
|