Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Zambyte
8 months ago
|
parent
|
context
|
favorite
| on:
Things Zig comptime won't do
If the type that you're passing as an argument is the type of another argument, you can keep the API simpler by just using @TypeOf(arg) internally in the function instead.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: