You must log in or register to comment.
deleted by creator
Yeah, in language theory, this kind of thing is called an “Algebraic Data Type”: https://en.wikipedia.org/wiki/Algebraic_data_type
Can you give examples? From the description, it seems like most languages (like Java) can store data in enums?