Extending Enum in Ada

Viewed 1757

Is it possible to extend an Enum type in Ada? if I have for example:

type ABC_Type is (A, B, C);

Now I want new type ABCDE_Type that will include everything that ABC_Type has and Also (D, E). Is there a way to do that?

2 Answers
Related