Proposal for SharedFunctions.jl package for optional dependency management

Another topic which we discussed previously is the notion of a local import statement

This is what resulted in making the @force import macro in ForceImport.jl … however, the real source of the problem is as I had mentioned, the context-based dispatch problem:

One of my major other ideas was to have a context-sensitive dispatch with local import ability.

The @force import macro only simulates this feature by completely separating the method tables for the conflicting methods, and then using forwarded dispatching to handle Base dispatch.

What is being talked about here is the full solution to this problem.

3 Likes