julia> module Parent
const a = 10
module Child
import ..Parent: a
main() = println(a)
end
end
Main.Parent
julia> using .Parent
julia> Parent.Child.main()
10
3 Likes