const print = @import("std").debug.print; pub fn main() void { const Foo = struct {}; print("variable: {}\n", .{@typeName(Foo)}); print("anonymous: {}\n", .{@typeName(struct {})}); print("function: {}\n", .{@typeName(List(i32))}); } fn List(comptime T: type) type { return struct { x: T, }; }