Hi,
quick question that I can’t see an answer to in the docs: how can I iterate over the members of an Enum?
So, I have:
@enum DistanceFunctionType chi_square d_and_s_type_a d_and_s_type_b
and I want to write something like:
for method in DistanceFunctionType
[do stuff..]
end
but that’s not allowed. Is there an idiomatic way to do this?
I’m new to Julia so apologies if this has in fact an obvious answer; I think I’ve searched all the usual places.
thanks,
Graham