Is it possible to export all values of an an enum defined inside a module?
That is, without rewriting all values after 'export'.

julia> module Compass

    export WindDirection

    @enum WindDirection north east south west

end


julia> using Compass


julia> WindDirection

Compass.WindDirection


julia> north

ERROR: UndefVarError: north not defined




Reply via email to