// zig version 0.9.1 const std = @import("std"); pub fn main() !void { const stdout = std.io.getStdOut().writer(); try stdout.print("Hello, {s}!\n", .{"world"}); } // ジェネリックなLinkedList型 const std = @import("std"); const stdout = std.io.getStdOut().writer(); fn LinkedList(comptime T: type) type { return struct { const Self = @This(); pub const Node = struct { next: ?*Node = null, data: T, }; first:
