Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export all symbols *except* a few ones #27

Open
plut opened this issue Feb 18, 2021 · 1 comment
Open

Export all symbols *except* a few ones #27

plut opened this issue Feb 18, 2021 · 1 comment

Comments

@plut
Copy link

plut commented Feb 18, 2021

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, ...
@goerz
Copy link

goerz commented Feb 5, 2022

This might also be a solution for #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants