Lecture overview -- Keyboard shortcut: 'u'  Previous page: Binding of free names -- Keyboard shortcut: 'p'  Next page: The <span>fluid-let</span> namebinding construct -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Introduction to Functional Programming in Scheme - slide 44 : 49

Binding of free names - examples

We illustrate differences between static and dynamic binding of free names

A function g with four free names a, b, c, and d.
A function g with four free names a, b, c, and d - statically bound in an outer let in Scheme.
A function g with four bounded names a, b, c, and d - passing many parameters from f to g.

Dynamic binding of free name provides for implicit passing of the formal parameters of f to g

In some situations, this is convenient: Temporary shadowing of more global name bindings

In other situations it may give surprises...