CS 61ALecture NotesWeek 2Topic: Higher-order proceduresReading:Abelson & Sussman, Section 1.3Notethat we are skipping 1.2; we’ll get to it later. Because of this, never mind for now the stuff aboutiterative versus recursive processes in 1.3 and in the exercises from that section.We’re all done teaching you the syntax of Scheme; from now on it’s all big ideas!This week’s big idea isfunction as object(that is, being able to manipulate functions as data) as opposedto the more familiar view of function as process, in which there is a sharp distinction between program anddata.The usual metaphor for function as process is a recipe. In that metaphor, the recipe tells you what to do,but you can’t eat the recipe; the food ingredients are the “real things” on which the recipe operates. Butthis week we take the position that a function is just as much a “real thing” as a number or text string is.
This is the end of the preview.
access the rest of the document.