enhancement type system

baleog maccarka at yahoo.com
Thu Jul 31 11:34:22 PDT 2008


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?


More information about the Digitalmars-d-learn mailing list