RosettaCodeData/Task/Hello-world-Standard-error/OCaml/hello-world-standard-error-1.ocaml
2023-07-01 13:44:08 -04:00

2 lines
183 B
Text

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 *)