Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
|
|
@ -1,2 +1,4 @@
|
|||
stderr =: 1!:2&4
|
||||
stderr 'Goodbye, World!'
|
||||
stderr
|
||||
1!:2&5
|
||||
|
||||
0 0 $ stderr 'Goodbye, World!'
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
def main : IO Unit := do
|
||||
let stderr ← IO.getStderr
|
||||
stderr.putStrLn s!"Goodbye, World!"
|
||||
|
|
@ -0,0 +1 @@
|
|||
print -e "Goodbye, World!"
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
const std = @import("std");
|
||||
|
||||
pub fn main() std.fs.File.WriteError!void {
|
||||
const stderr = std.io.getStdErr();
|
||||
|
||||
try stderr.writeAll("Goodbye, World!\n");
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
const std = @import("std");
|
||||
|
||||
pub fn main() void {
|
||||
// Silently returns if writing to stderr fails.
|
||||
std.debug.print("Goodbye, World!\n", .{});
|
||||
}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
const std = @import("std");
|
||||
pub fn main() !void {
|
||||
try std.io.getStdErr().writer().writeAll("Goodbye, World!\n");
|
||||
// debug messages are also printed to stderr
|
||||
//std.debug.print("Goodbye, World!\n");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue