Hacker News new | ask | show | jobs
by hallajs 1041 days ago
You can describe these things in zig with @typeInfo, @TypeOf and anytype

https://ziglang.org/documentation/master/#typeInfo

https://ziglang.org/documentation/master/#TypeOf

https://ziglang.org/documentation/master/#Keyword-Reference