Y
Hacker News
new
|
ask
|
show
|
jobs
by
jeremiep
3832 days ago
There's std.variant in D which provides type-safe sum types.
alias MyLanguage = VariantN!(<insert types here>);