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*". 

Steve



_______________________________________________
Gcl-devel mailing list
Gcl-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to