On Tuesday, April 26, 2016 at 11:07:45 AM UTC-4, Pieterjan Robbe wrote:
>
> Is it possible to export all values of an an enum defined inside a module?
> That is, without rewriting all values after 'export'.
>

for s in instances(WindDirection)

    @eval export $(symbol(s))
end 

Reply via email to