JuliaLang / JuliaLang/Reexport.jl
How to not reexport a symbol?
Open
- Dominant language
- Julia
- Stars
- 171
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
``` julia
module Y
export f, g
f(x) = x + 1
g(x) = x + 2
end
module X
export h
using Reexport
@reexport using ..Y: f
h(x) = f(x) + 3
# Place-1: let `f` available here.
end
using ..X
# Place-2: let `g` available and `f` not available here.
```
If I want to let `f` available at `Place-1` and let `g` available and `f` not available at `Place-2`, how should I code?
Thanks in advance!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.