The ability to switch into an arbitrary module will be helpful. For example
# In primary julia session
module M
module N
"""
Hello
"""
f(x) = x + 1
end
end
# In remote repl session
> %module M.N
> f(3)
4
I have been using
function Base.setproperty!(x::RemoteREPL.Connection, f::Symbol, v::Expr)
x.in_module = Symbol(v)
end
in my startup script for probably a good 4-6 months now and it appears to work. We should figure out the correct (hygienic) method. And the docs search doesn't work when inside a module so we will need to figure that out.
The ability to switch into an arbitrary module will be helpful. For example
I have been using
in my startup script for probably a good 4-6 months now and it appears to work. We should figure out the correct (hygienic) method. And the docs search doesn't work when inside a module so we will need to figure that out.