Hi<div><br></div><div>I am implementing a packaging tool and I found the following issue:</div><div><br></div><div>> *package*</div><div><div>#<Package "COMMON-LISP"></div><div>> (defvar *x* 123)</div>
<div>*X*</div><div>> (make-package 'temp :use nil)</div><div><div>#<Package "TEMP"></div><div>>(import 'x 'temp)</div><div>T</div><div>>temp::x</div><div>123</div><div>>(import 'nil 'temp)</div>
<div>T</div><div>>temp::nil</div><div><div>> Error: Unbound variable: TEMP::NIL</div><div>> While executing: CCL::TOPLEVEL-EVAL, in process listener(1).</div><div>> Type :GO to continue, :POP to abort, :R for a list of available restarts.</div>
<div>> If continued: Retry getting the value of TEMP::NIL.</div><div>> Type :? for other options.</div><div>1 > </div><div><br></div><div><br></div><div>Why I cannot import '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 "Unbound variable NIL" 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>