Ref: docs for Pkg
I want to compare two methods with the same name from two different packages in the same session/script. To avoid name collision, I would like to negate using
(i.e. "undo" / "reverse"). Something like what detach does for R
.
using PackageOne
some_method()
undo using PackageOne # <-- negate `using PackageOne` without restarting
using PackageTwo
some_method() # name collision avoided here