Basic OCAML
REPL (The interactive Read-Eval-Print Loop)
REPL (The interactive Read-Eval-Print Loop)
$ocaml
OCaml version 4.08.1
You will get the # prompt for Ocaml
Perform basic operation on terminal
Perform basic operation on terminal
# 1+5;;
- : int = 6
double semicolon(;;) needed to perform the operation.