I often just create a tiny module containing only the enum, like Encapsulating enum access via dot syntax - #2 by mbauman.
tkoolen
5
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Enum tag collision | 2 | 483 | August 8, 2018 | |
| Adding members to an existing Enum | 5 | 442 | January 19, 2024 | |
| Encapsulating enum access via dot syntax | 13 | 4871 | August 31, 2021 | |
| ANN: EnumX.jl -- improved enums for Julia | 11 | 3537 | November 5, 2023 | |
| Solving the drawbacks of @enum | 15 | 4968 | June 23, 2023 |