type Example is (First, Second, Third);
for Example use (
First => 1,
Second => 2,
Third => 4);
It should be:
default ordered:
enumeration Example is First, Second, Third;
representation specified:
enumeration Example is
First := 1,
Second := 2,
Third := 4;
Rationale:
Enumerations are a very useful concept that was made overly cumbersome in Ada. These changes would also greatly simplify other possible changes to enumerations.
Furthermore enum would be fine but enumeration is listed here because of intellisense greatly decreasing necessary keystrokes anyways. So optimizing source for readability was chosen.
Ada does:
It should be:
default ordered:
representation specified:
Rationale: Enumerations are a very useful concept that was made overly cumbersome in Ada. These changes would also greatly simplify other possible changes to enumerations.
Furthermore
enum
would be fine butenumeration
is listed here because of intellisense greatly decreasing necessary keystrokes anyways. So optimizing source for readability was chosen.