Y
Hacker News
new
|
ask
|
show
|
jobs
by
robinei
1740 days ago
You can constrain type arguments with a compile-time `if` check, and generate a compile error on violation.