Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!goya!bosco!ibm From: ibm@bosco.dit.upm.es (Ignacio Bellido Montes) Newsgroups: comp.lang.lisp Subject: Problems with Lisp Packages Keywords: Packages, Constants Message-ID: <117@bosco.dit.upm.es> Date: 22 Feb 89 11:32:38 GMT Reply-To: ibm@bosco.UUCP (Ignacio Bellido Montes) Organization: dit Lines: 45 European users knows this article, I posted it some time ago but, as I haven't receive any answer, I send it to every body. Could someone of you help me on a Common Lisp problem?. The trouble I have comes from the package management. I haven't found any book or manual that explain the uses of this CL feature. I've tried to use it, and I've found I don't know how. I use a Hewlett-Packard 9000-350 with Lucid Common Lisp II. I made a group of functions which made things like: (DEFUN FOO (X) (COND ((EQUAL (CAR X) 'YES) ... ) ((EQUAL (CAR X) 'NO) ... ) (T (PRINT 'ERROR))) ) When the current package is the same where the function is defined, the function is well evaluated. But when I use the function from another package, using (PACKAGE-FOO::FOO), the predicate EQUAL fails. I stepped the function, but the only thing I saw is that the constants YES or NO, are not qualified by the interpreter with the package identifier. If some one knows how can I do that, or better, where can I find good, and explained, examples of package use (Steele's book is not a good help) please e-mail me or post a new. Thanks in advance, ibm (in low case) =========================================================================== Ignacio Bellido Fernandez-Montes, Departamento de Ingenieria de Department of Telematic Sistemas Telematicos (dit), Systems Enginering, Laboratorio de Inteligencia Artificial. Artificial Intelligence Laboratory. Universidad Politecnica de Madrid. Madrid University of Technology. e-mail: ibellido@dit.upm.es or Phone: Work: 34 - 1 - 5495700 ext 368 ibellido@goya.uucp Home: 34 - 1 - 2533365 TELEX" 47430 ESTIST E Fax: 34 - 1 - 2432077 ===========================================================================