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?
If I want to let
f
available atPlace-1
and letg
available andf
not available atPlace-2
, how should I code?Thanks in advance!