Compilation Methods SS 2009 - Slide 306
Objectives:
Understand the concept of closure
In the lecture:
The topics on the slide are explained:
- examples for functions as data objects,
- recall functional programming (GdP),
- closures as a sequence of activation records,
- relate closures to run-time stacks
Suggested reading:
GdP slides on run-time stack
Questions:
- Why must a functional parameter in Pascal be represented by a pair (closure, code)?
©2009 Prof. Dr. Uwe Kastens
Generiert mit Camelot | Probleme mit Camelot? | Geändert am: 30.03.2009