Algebraic Data Types in D?

Remo via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 31 04:42:20 PDT 2014


http://tech.esper.com/2014/07/30/algebraic-data-types/

D already has product type it is struct.
But D lacks sum type also called tagged-union.

Do you think it would be possible to add something like this to 
D2 ?


More information about the Digitalmars-d mailing list