Hacker News new | ask | show | jobs
by eddyb 2876 days ago
Yes, but limited to being applied at compile-time, with constant arguments.

Fully general dependent type would allow passing in runtime values, which is significantly harder to type-check and execute