From: Kalle Olavi Niemitalo
Subject: #+(CL:OR) (package in feature expression)
Date: 
Message-ID: <87d7bt9x5c.fsf@PC486.y2000.kon.iki.fi>
In a feature expression like (OR :CMU :CLISP), must the OR symbol
be in the KEYWORD package?  The examples in section 24.1.2.1.1 of
CLHS use symbols without package prefixes, and according to
2.4.8.17 feature expressions are "read" in the KEYWORD package,
so using an explicit keyword like :OR should work as well.
Nothing is said about other packages, though.

CMUCL 2.5.0 accepts OR, AND and NOT symbols from the COMMON-LISP
package too.  Is this an extension?  However, it doesn't
recognize symbols from my own packages (unless they use
COMMON-LISP) or uninterned symbols.  It seems strange to me to
allow symbols from two packages but no others; why didn't they
make the feature expression evaluator compare symbols by their
names, like the LOOP macro does?
From: Lieven Marchand
Subject: Re: #+(CL:OR) (package in feature expression)
Date: 
Message-ID: <m3itlk9o0h.fsf@localhost.localdomain>
Kalle Olavi Niemitalo <···@iki.fi> writes:

> It seems strange to me to allow symbols from two packages but no
> others; why didn't they make the feature expression evaluator
> compare symbols by their names, like the LOOP macro does?

LOOP is the exception here. Things like type constructors '(or integer
cons) also need the COMMON-LISP symbols and not your own shadowed
versions.

-- 
Lieven Marchand <···@wyrd.be>
Gla�r ok reifr skyli gumna hverr, unz sinn b��r bana.