4 ms·
Enum is limited for integer value.
Enum is limited for integer value.
The internal representation doesn't really matter, does it?
You can define string enum type with a macro.
https://github.com/crystal-lang/crystal/issues/10281#issuecomment-766349102 https://github.com/crystal-lang/crystal/issues/10281#issueco...