Note Assume you have sum, anyway 

Forum: Com Sci 12500, U Chicago, Autumn 2002, Discuss Classwork
Re: News I posted a study guide for the final (Mike O'Donnell)
Re: None Unbound variable: sum (Ivan Beschastnikh)
Date: 2002, Dec 07
From: Mike O'Donnell <odonnell@cs.uchicago.edu>

I guess I must have defined sum myself, and forgot that I did. Anyway, assume that there is a procedure sum where (sum numlist) returns the sum of the numbers in numlist. E.g., (sum '(1 2 3)) returns 6; (sum '()) returns 0.




Mike O'D.


to: "Assume you have sum, anyway"