langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
|
|
@ -0,0 +1,2 @@
|
|||
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 *)
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
output_string stderr "Goodbye, World!\n";
|
||||
Printf.fprintf stderr "Goodbye, World!\n";
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
let msg = "Goodbye, World!\n" in
|
||||
ignore(Unix.write Unix.stderr msg 0 (String.length msg)) ;;
|
||||
Loading…
Add table
Add a link
Reference in a new issue