Create a new language ?
Alain De Vos
devosalain at ymail.com
Tue Nov 7 07:28:28 UTC 2023
or
type Temperature = Fahrenheit | Celsius | Kelvin
translates to :
std.sumtype
->
alias Temperature = SumType!(Fahrenheit, Celsius, Kelvin);
More information about the Digitalmars-d
mailing list