Created
August 15, 2022 13:40
-
-
Save mvanzulli/97ee5a68350caba40764722c57cb60ad to your computer and use it in GitHub Desktop.
Export all from a julia module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for n in names(@__MODULE__; all = true) | |
if Base.isidentifier(n) && n ∉ (Symbol(@__MODULE__), :eval, :include) | |
@eval export $n | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment