Super Enums
Andy-Python-Programmer opened this issue · comments
Add enums with super powers!
- Enums with string values.
enum {
a = "Hello",
b = "Allo",
c = "Bonjour",
} example;
- Enums with int values.
enum {
a = 0,
b = 500,
c = 600,
} example;
- Enums with constructors.
enum {
String(String),
Bool(bool),
} example;