JuliaLang / JuliaLang/Reexport.jl

Export all symbols *except* a few ones

Open
#27 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
171
Forks
19
PR merge metrics
No merged PRs in 30d

Description

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:
```julia
@reexport using Y: !except_this_symbol, ...
```
2. exporting all symbols while renaming a few ones:
```julia
@reexport using Y: this_symbol = is_renamed_this_way, ...
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files or tests. Start by examining the existing @reexport implementation and Julia's module import syntax, then determine how exclusions and selected renames should interact with current behavior. Done means both proposed forms have settled semantics and coverage for the relevant cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.