Data update

This commit is contained in:
Ingy döt Net 2023-12-16 21:33:55 -08:00
parent 35bcdeebf8
commit 74c69a0df6
2427 changed files with 31826 additions and 3468 deletions

View file

@ -1,2 +1,4 @@
stderr =: 1!:2&4
stderr 'Goodbye, World!'
stderr
1!:2&5
0 0 $ stderr 'Goodbye, World!'

View file

@ -0,0 +1,3 @@
def main : IO Unit := do
let stderr ← IO.getStderr
stderr.putStrLn s!"Goodbye, World!"

View file

@ -0,0 +1 @@
print -e "Goodbye, World!"

View file

@ -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");
}

View file

@ -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", .{});
}

View file

@ -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");
}