Scheme · Lesson 8

Local bindings: let, let*, letrec and named let

Bind local names with let and let*, write mutual recursion with letrec, define helpers inside procedures, loop with named let and keep state with set!.

Lessons · Scheme · Lesson 8 of 10

Local bindings: let, let*, letrec and named let

Bind local names with let and let*, write mutual recursion with letrec, define helpers inside procedures, loop with named let and keep state with set!.

Illustration for Scheme
Bind local names with let and let*, write mutual recursion with letrec, define helpers inside procedures, loop with named let and keep state with set!.