[Openmcl-devel] importing COMMON-LISP:NIL
taoufik at mazeboard.com
Sat Jan 23 07:51:30 UTC 2010
I am implementing a packaging tool and I found the following issue:
> (defvar *x* 123)
> (make-package 'temp :use nil)
>(import 'x 'temp)
>(import 'nil 'temp)
> Error: Unbound variable: TEMP::NIL
> While executing: CCL::TOPLEVEL-EVAL, in process listener(1).
> Type :GO to continue, :POP to abort, :R for a list of available restarts.
> If continued: Retry getting the value of TEMP::NIL.
> Type :? for other options.
Why I cannot import 'NIL into TEMP package?
I am trying to implement a package system that can be used as follows:
;; in package APP
@::use (common-lisp ccl utils)
@::use will import all external symbols of COMMON-LISP into APP, then
import all external symbols of CCL into APP, and finally
import all external symbols of UTILS into APP
All imports are done using shadowing-import.
The issue is that it appears that when I use NIL in the package APP I
the "Unbound variable NIL" error (I cannot import COMMON-LISP:NIL to APP).
Thank you for your help and explanations.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmcl-devel