Arthur Ralfs <art...@mathbrane.ca> writes:

| Hi Gaby,
| 
| I'm just curious why I get this warning
| 
| (5) -> multiset [x rem 5 for x in primes(2,1000)]
| 
| ; in: LAMBDA NIL
| ;     (BOOT::|getShellEntry| BOOT::$ 6)
| ;
| ; caught WARNING:
| ;   undefined variable: $
| ;
| ; compilation unit finished
| ;   Undefined variable:
| ;     $
| ;   caught 1 WARNING condition
| 
| if you have time to think about it.  Am I doing something
| wrong?

Hi Arthur,

You are doing nothing wrong.  SBCL is warning about the generated Lisp
code from the OpenAxiom interpreter (which is poor Lisp coding).  The
interpreter uses the domain of computation environment "$" globally when
evaluating toplevel expressions.  At the point where the Lisp `EVAL was
issued, SBCL was unable to see that "$" was bound globally so it emitted
the warning.  This warning is distracting, but one other hand it is had
to just filter this out and not other more useful warnings.

It is one of the annoyances that I would like to fix.
(other AXIOM flavours just ignore the noise.)

-- Gaby

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
open-axiom-devel mailing list
open-axiom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-axiom-devel

Reply via email to