[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: in-package problems
- To: usher@vax.oxford.ac.uk
- Subject: Re: in-package problems
- From: kab (Kim Barrett)
- Date: Wed, 08 Jan 92 15:09:19 EST
- Cc: info-mcl
> I am having some problems with the IN-PACKAGE
> macro in MCL2.0b1. IN the old version (Mac. Allegro
> 1.3.2) is is simple to use IN-PACKAGE with a variable
> name, however this appears no longer to be possible.
>
> For example
>
> (setf *name* Rpackage-nameS)
> (make-package *name*) ;; this bit works fine
>
> (in-package *name*)
>
> ;;;this then returns
>
> > Error: There is no package named "*NAME*" .
> > While executing: CCL::SET-PACKAGE
>
> Am I doing something silly, if not how can I get around
> this problem and pass package names as variable?
> Thanks for any help
> Tom Usherwood
In MCL2.0b1 IN-PACKAGE has been changed to conform to the new definition
described in CLtL2. It is now a macro which doesn't evaluate its (single)
argument.