Hi Alex,

In the docs at <http://www.software-lab.de/doc/ref.html#symbol> I read that 
"The CDR of a symbol cell is also called VAL, and the CAR points to the 
symbol's tail”, but in the Ersatz code (built from fun.src) I see this ...

   final static class Symbol extends Any {
      Object Obj;
      Any Prop[];
      String Name;

      Symbol(Any val, String nm) {
         Car = val == null? this : val;
         Name = nm;

… and here it seems to me that you store the Symbol’s value in the ‘Car’.
Can you explain why it is CDR==VAL in the docs, but "Car = val” (instead of 
"Cdr = val”) in Ersatz?

UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to