enhancement type system

JAnderson ask at me.com
Thu Jul 31 20:02:09 PDT 2008


baleog wrote:
> Can i dream that someday D would has an enhancement type system? To do something like this:
> 
> type T = { int[2..17] | string("default") }
> type U = { T | None };
> 
> or it's a totally bad idea?

Is this kinda like a union?

-Joel


More information about the Digitalmars-d-learn mailing list