> That would be an error. You cannot use-package if both pack1 and
> pack2 define foo. Then you MUST use package qualifiers to access foo.
OK, I just played around with lisp and came to the same conlusion:
Correctable error: A package error occurred on #<"USER" package>: "Cannot
use package as it will produce a name conflict".
Signalled by USE-PACKAGE.
In fact, I think this would be okay for maxima too.
use_package("wonder"); would try to add "wonder" to the list of used
packages. If it cannot (because of a name conflict), the user will have to
do foo@wonder(...); or something similar. (To bad maxima uses : instead
of := for assignment. I really hate this.) There won't be a problem within
packages, as long as they use only symbols in the "maxima" package (which
will always be there). Symbols from other packages could only be used by
properly indicating the package, which is very good.
Did I overlook something? (I suppose yes, it can't be so easy)
Martin