RosettaCodeData/Task/Hello-world-Standard-error/OCaml/hello-world-standard-error-1.ocaml

3 lines
183 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
prerr_endline "Goodbye, World!"; (* this is how you print a string with newline to stderr *)
Printf.eprintf "Goodbye, World!\n"; (* this is how you would use printf with stderr *)