Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm still not quite seeing the problem. To my mind, comptime parameters have a direct translation to parametric type parameters in something like system F or a similar parametrically polymorphic type system, and reasonable type errors are possible in those. Do Zig's comptime parameters universally violate parametricity in some way, and this is why the errors are more difficult?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: