I run into this problem all the time.
- I want to develop a package where a bunch of pieces are hidden under the hood.
- I like testing along the way in jupyter, so constantly have to use
<Pkg> is cumbersome and emotionally taxing.
Is there a best practices way to safely implement the following code?
// i.e. for a stand-alone package
using DataStructures cur_module = DataStructures all_symbols = get_all_symbols(cur_module) for cur_symbol in all_symbols cur_module.eval(parse("export $cur_symbol")) end
(this could then tie into
Revise.jl for some more magic…)
edit: an example
get_all_symbols function can be seen here