Reexport.jl icon indicating copy to clipboard operation
Reexport.jl copied to clipboard

Export all symbols *except* a few ones

Open plut opened this issue 3 years ago • 1 comments

It may happen that you want to rename a few symbols in a module (e.g. because of name clashes). Do you think it would be possible, and/or useful, to have a @reexport syntax for:

  1. exporting all symbols except a few ones:
@reexport using Y: !except_this_symbol, ...
  1. exporting all symbols while renaming a few ones:
@reexport using Y: this_symbol = is_renamed_this_way, ...

plut avatar Feb 18 '21 22:02 plut

This might also be a solution for #39

goerz avatar Feb 05 '22 20:02 goerz