[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Porting to MCL: Package problems



At 11:24 1/28/93 +0000, Ranson wrote:
>IN-PACKAGE was changed incompatibly in the 2nd version of Common Lisp. The
>problem is there, not in MCL. In this version, the argument of IN-PACKAGE is
>not evaluated. To increase portability, use keywords:
>
>(in-package :tms)
>
>     Daniel.

MCL comes with a CLtL1 compatibility package. It doesn't make everything
work exactly as in CLtL1, but it does provide the LISP & USER packages
(CLtL2 renames these to COMMON-LISP & COMMON-LISP-USER), and provides
CLtL1 versions of LISP:IN-PACKAGE, LISP:FUNCTIONP, and LISP:CHAR-BITS &
friends. You might try evaluating the following two forms before loading
your code:

(require "LISP-PACKAGE")
(in-package :user)