> I like Nim's enums and I often have to import C++ enums so I can't choose if 
> they are with holes or not, yet need to wrap them. Distinct ints are not 
> anywhere near in terms of usability: I need to know how many distinct values 
> out there, have string <-> value parse/format.

This can be done with a macro. 

Reply via email to