eval.in

Paste #49616

OCaml — OCaml 4.00.1, pasted 3 years ago

1
2
3
4
5
let greeter name =
  print_endline ("Hello " ^ name ^ "!")

let _ =
  greeter "Charlie"

Program Output

Hello Charlie!

OK (0.012 sec real, 0.012 sec wall, 6 MB, 9 syscalls)

Fork