Feedback v is a base value 

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

Is f a function of two arguments and v a base value,
Yes.
or is f a function of two arguments and v is the list that f will operate on?
No.

The list to operate on does not appear as an argument to reduce. Rather, it appears as an argument to the function returned by reduce. For example, the value of

((reduce f v) '(1 2 3))
is the same as the value of
(f '1 (f '2 (f '3 v)))



Mike O'D.


to: "v is a base value"