It would be nice to have a syntax for documenting enum members. For instance:
@enum Fruit begin
"round"
APPLE
"long"
BANANA
end
which is currently an error.
Thoughts?
It would be nice to have a syntax for documenting enum members. For instance:
@enum Fruit begin
"round"
APPLE
"long"
BANANA
end
which is currently an error.
Thoughts?
This is supported in EnumX.jl. That particular feature is trivial to upstream if you want it also for Base.Enum
.