Hi<div><br></div><div>I am implementing a packaging tool and I found the following issue:</div><div><br></div><div>&gt; *package*</div><div><div>#&lt;Package &quot;COMMON-LISP&quot;&gt;</div><div>&gt; (defvar *x* 123)</div>
<div>*X*</div><div>&gt; (make-package &#39;temp :use nil)</div><div><div>#&lt;Package &quot;TEMP&quot;&gt;</div><div>&gt;(import &#39;x &#39;temp)</div><div>T</div><div>&gt;temp::x</div><div>123</div><div>&gt;(import &#39;nil &#39;temp)</div>
<div>T</div><div>&gt;temp::nil</div><div><div>&gt; Error: Unbound variable: TEMP::NIL</div><div>&gt; While executing: CCL::TOPLEVEL-EVAL, in process listener(1).</div><div>&gt; Type :GO to continue, :POP to abort, :R for a list of available restarts.</div>
<div>&gt; If continued: Retry getting the value of TEMP::NIL.</div><div>&gt; Type :? for other options.</div><div>1 &gt; </div><div><br></div><div><br></div><div>Why I cannot import &#39;NIL into TEMP package?</div><div><br>
</div><div><br></div><div>I am trying to  implement a package system that can be used as follows:</div><div><br></div><div>;; in package APP</div><div>@::use (common-lisp ccl utils)</div><div><br></div><div>@::use will import all external symbols of COMMON-LISP into APP, then</div>
<div>import all external symbols of CCL into APP, and finally</div><div>import all external symbols of UTILS into APP</div><div><br></div><div>All imports are done using shadowing-import.</div><div><br></div><div>The issue is that it appears that when I use NIL in the package APP I receive</div>
<div>the &quot;Unbound variable NIL&quot; error (I cannot import COMMON-LISP:NIL to APP).</div><div><br></div><div><br></div><div>Thank you for your help and explanations.</div><div><br></div><div>Taoufik</div><div><br></div>
<div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div><div><br></div>