Better HN
topnewbestaskshowjobs
Log inSign up

hallajs

6 karma · joined Aug 11, 2023 (3y ago) · 1 submissions

Submissions

comment 3y ago · link · parent

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