CS 3304: Comparative Languages
FP Foundations, Scheme
[
Course Documents
] : [
FP Foundations, Scheme
]
Previous
Contents
Next
Keyword Index
Introducing Locals: Let
3.
Internal definitions
: the special form,
LET
(let ( (x ‘(a b c)) (y ‘(d e f)) ) (cons x y) )
Introduces a list of local names (use define for top-level entities, but use let for internal definitions)
Each name is given a value
Use let* if later values depend on earlier ones