[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
IN-PACKAGE changes PACKAGE-USE-LIST inappropriate
- To: clisp-list@ma2s2.mathematik.uni-karlsruhe.de
- Subject: IN-PACKAGE changes PACKAGE-USE-LIST inappropriate
- From: Ulrich Hoffmann <uho@informatik.uni-kiel.dbp.de>
- Date: Thu, 8 Apr 1993 13:22:23 +0200
- X400-content-type: P2-1984 (2)
- X400-mts-identifier: [/PRMD=uni-kiel/ADMD=dbp/C=de/;gutemine 005725.0734268143000]
- X400-originator: uho@informatik.uni-kiel.dbp.de
- X400-received: by mta nz11.rz.uni-karlsruhe.de in /PRMD=uni-karlsruhe/ADMD=dbp/C=de/; Relayed; Thu, 8 Apr 1993 13:24:35 +0200
- X400-received: by /PRMD=UNI-KARLSRUHE/ADMD=DBP/C=DE/; Relayed; Thu, 8 Apr 1993 13:23:13 +0200
- X400-received: by /PRMD=UNI-KIEL/ADMD=DBP/C=DE/; Relayed; Thu, 8 Apr 1993 13:22:23 +0200
- X400-recipients: clisp-list@MA2S2.MATHEMATIK.uni-karlsruhe.de
I think I discovered a problem with IN-PACKAGE.
Here is a clisp session protocoll which shows the problem:
% clisp
...
------+------ Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
> (make-package 'a) ; first create two new packages
#<PACKAGE A>
> (make-package 'b)
#<PACKAGE B>
> (in-package 'user :use '(lisp a)) ; set package-use-list of USER
#<PACKAGE USER>
> (package-use-list 'user)
(#<PACKAGE A> #<PACKAGE LISP>) ; hmm looks ok
> (in-package 'user :use '(lisp b)) ; extend use-list with package B
#<PACKAGE USER>
> (package-use-list 'user) ; check if this was succesful
(#<PACKAGE B> #<PACKAGE LISP>) ; oh no! Package A is missing
Using USE-PACKAGE instead of the :USE keyword gives the desired
result. Any ideas?
Greetins,
Ulrich
I used the SPARC/SUNOS.4.1 Version.
Ulrich Hoffmann email: uho@informatik.uni-kiel.dbp.de
Institut fuer Informatik, Universitaet Kiel Tel: +49 431 560426
Preusserstr 1-9, D-2300 Kiel 1, Germany Fax: +49 431 566143