Daniel Weinreb dlw@itasoftware.com writes:
However, in a situation I'm working on now, that doesn't work, because package X has (:import-from :y :a1 :a2), and the symbols :a1 and :a2 are not exported from :y. That is, X is exporting internal symbols of Y. This fails, because the symbols :a1 and :a2 do not exist, because they get created only when the files that define them get loaded. So doing all the package declarations first does not work.
You could add a (:intern :a1 :a2) clause to Y's defpackage form.
Zach