Higher-Order Programming » Lab Sessions

Session 6 (Solutions)

Assistant: Steven Keuchel (steven.keuchel@vub.be)

General Remarks

Section 1: Environment Diagrams

Exercise 1: A Functional Environment Diagram

Exercise 2: A Recursive Environment Diagram

Exercise 3: A Lexical Environment Diagram

Lexically Scoped

Dynamically Scoped

Exercise 4: A Functional Environment Diagram with Local Immutable State