On Sat, 11 Aug 2007, Stephen Wilson wrote:
| Gabriel Dos Reis <[EMAIL PROTECTED]> writes:
|
| > Stephen Wilson <[EMAIL PROTECTED]> writes:
| >
| > | Gabriel Dos Reis <[EMAIL PROTECTED]> writes:
| > | > >(member :common-lisp *features*)
| > | >
| > | > NIL
| > | >
| > | > >(member :gcl *features*)
| > | >
| > | > (:GCL :AKCL :COMMON :KCL)
| > | >
| > | > >#-:common-lisp foo
| > | >
| > | > Error: The variable FOO is unbound.
| > | > Fast links are on: do (si::use-fast-links nil) for debugging
| > | > Error signalled by EVAL.
| > | > Broken at EVAL. Type :H for Help.
| > | >
| > | >
| > | >
| > | >
| > | > I would have expected the system NOT to try to evaluate foo.
| > |
| > | >From the hyperspec:
| > |
| > | #- is like #+ except that it skips the expression if the test succeeds;
that is,
| > |
| > | #-test expression == #+(not test) expression
| > |
| > |
| > | In other words, "#-:common-lisp foo" means "evaluate foo iff
| > | :common-lisp is not on *features*".
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| > So, do you agree there is a bug in GCL here?
|
| No. :common-lisp is (as you pointed out for gcl-2.6.8pre) _not_ on
| *features*.
Hey, you said in the previous message
In other words, "#-:common-lisp foo" means "evaluate foo iff
:common-lisp is not on *features*"
^^^
I tested that :common-lisp is NOT on *features*. What am I missing?
-- Gaby
_______________________________________________
Gcl-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gcl-devel