3 ms·Why would you want that over enums?by xigoi 4y agoWhy would you want that over enums?revskill 4y agoEnum is limited for integer value.xigoi 4y agoThe internal representation doesn't really matter, does it?cysky 4y agoYou 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...