Julia Programming Language
Why does the first enum member value default to zero instead of one?
Internals & Design
enum
stevengj
September 13, 2022, 6:13pm
4
This was already discussed:
Why is @enum 0-based?
4 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Why is @enum 0-based?
General Usage
enum
6
1964
October 9, 2019
Why can't Enums be #undef?
General Usage
parametric-types
,
distributed
,
enum
8
527
May 6, 2022
How can i make Julia array index to start from zero 0 and not from one 1?
New to Julia
offsetarrays
31
1198
May 25, 2025
@enum macro example fails due to ColorType.jl loaded
New to Julia
question
,
enum
2
449
June 28, 2019
Enums for array indexing
General Usage
question
,
enum
7
4797
April 24, 2017