const std = @import("std"); pub fn LLIst (comptime T: type) type { return struct { const Self = @This(); // nur um den compiler zufrieden zu stellen 😡 const _: T = undefined; pub fn init() void { //TODO } pub fn deinit() void { //TODO } }; } pub fn Node () type { return struct { comptime T: type = undefined, const Self = @This(); const next: *Self = undefined; //var value: T = undefined; pub fn init(this: *Self, comptime T: type) void { this.T = T; } }; } pub fn main() !void { }