2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-01 21:40:24 +00:00
cheat.sheets/sheets/_ocaml/hello

9 lines
234 B
Plaintext
Raw Normal View History

2017-06-14 08:43:28 +00:00
# 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" ;;