add typetraits.OrdinalEnum, enumutils.symbolName (#17281)
This commit is contained in:
parent
3dc1bd0d09
commit
eb07a5a75b
4 changed files with 57 additions and 9 deletions
|
|
@ -47,8 +47,9 @@
|
|||
|
||||
- Added `std/enumutils` module. Added `genEnumCaseStmt` macro that generates case statement to parse string to enum.
|
||||
Added `items` for enums with holes.
|
||||
Added `symbolName` to return the enum symbol name ignoring the human readable name.
|
||||
|
||||
- Added `typetraits.SomeEnumWithHoles` for enums with holes.
|
||||
- Added `typetraits.HoleyEnum` for enums with holes, `OrdinalEnum` for enums without holes.
|
||||
|
||||
- Removed deprecated `iup` module from stdlib, it has already moved to
|
||||
[nimble](https://github.com/nim-lang/iup).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue