Functional Problem Solving (CSC 151 2015S) : EBoards

CSC151.01 2015S, Class 21: Naming Local Values


Overview

Preliminaries

Admin

Upcoming Work

Extra Credit Opportunities

Academic

Peer Support (Afternoon Section)

Other Good Things

Questions

Lab

Reflection

Please explain the meanings of the orderings of let and lambda.

You can't use a name until it is bound (either through define or let, or by coming in as a parameter).

But you can bind a name before you define a procedure, and limit that binding to use within that procedure, by writing something like (let ([name value]) (lambda (param) body)).