Files
epicours/Algo/Chapter 0 - A bit of imperative/0.1 - Print.md

750 B

If we want to print something in CAML, we have to use this structure

# print_string "Hello World!";;
Hello! - : unit=()

# print_int ;;
-: int -> unit = <fun>

(*expression*)
# print_[type] [things to print];;
[things to print] -: unit=()