2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-03 15:40:17 +00:00
cheat.sheets/sheets/_ocaml/hello
2017-06-14 08:43:28 +00:00

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" ;;