Perhaps of LOAD_PATH contains a function we could call it with no arguments and consider the result to be in the load path at that point. The main reason that Pkg.dir is looked at first and separately is that otherwise changing JULIA_PKGDIR in ~/.juliarc.jl has no effect. Doing the thunk thing would allow LOAD_PATH to be definitive yet depend on the current value of JULIA_PKGDIR.
> On Jun 25, 2014, at 2:02 AM, Ivar Nesje <[email protected]> wrote: > > 1st nice thing is that all packages are a full git repository so that you can > and commit your changes to a branch, and switch back to the latest release > with a checkout. > > If you still want to develop in a separate location, you can do > > include("C:path\to\MyPkg") > > And use the MyPkg.myfun prefix, or do > > using MyPkg > > to also import all the exported identifiers into the current namespace.
