Feedback atomval evaluates atomic symbols, op combines subtree values 

Forum: U Chicago, Com Sci 221, autumn 2000
Re: News Assignment #7, due Monday 20 November (Mike O'Donnell)
Re: Question Questions about assignment #7 (Michael C. Brizic)
Date: 2000, Nov 16
From: Mike O'Donnell <odonnell@cs.uchicago.edu>

Finally, could you explain again what are the arguments to reduce-tree, specifically what is "atomval"?
In (reduce-tree op atomval), atomval is a function of one argument that is applied to each atomic symbol (including nil), producing some sort of value associated with the symbol. op is a function of two arguments that combines the value of a left subtree with the value of a right subtree to produce a value for the whole tree. You may think of it as the operator associated with the dots in the dotted pairs.



Mike O'D.


to: "atomval evaluates atomic symbols, op combines subtree values"