![](https://secure.gravatar.com/avatar/c7be29f230d0fc8df73e146bca8366fd.jpg?s=120&d=mm&r=g)
6 Apr
2011
6 Apr
'11
5:40 p.m.
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