Mention iterators
This commit is contained in:
parent
4abd738f6b
commit
73d6c89676
3 changed files with 27 additions and 1 deletions
|
|
@ -19,6 +19,8 @@ Notice that each element in `CompassDirections` is prepended with `cd` to avoid
|
|||
|
||||
Enums can be given custom values and stringify values, as shown by `Colors` and `Signals`.
|
||||
|
||||
## Ordinals
|
||||
|
||||
While enums can also have disjoint values, it should not be used for any other reason than compatibility with C because it breaks the idea that enums are ordinal.
|
||||
|
||||
``` nimrod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue