> But I wonder then, aren't enums supposed to be helpful also for working with 
> bit flags? so you can AND and OR together when handling settings parameters? 
> In this case you can't avoid leaving holes in the enumeration. From what I 
> understood from reading the documentation (and I might be wrong) the issue 
> with having holes in enums is that you can't use some iterators with them if 
> you do have holes.

Nim's version of bit flags is 
[set[T]](https://nim-lang.github.io/Nim/manual#types-set-type), which is why 
enum with holes is not needed here.

Reply via email to