Back to slide -- Keyboard shortcut: 'u'  previous -- Keyboard shortcut: 'p'  next -- Keyboard shortcut: 'n'          free-names-2.scm - A function g with four free names a, b, c, and d - statically bound in an outer let in Scheme.Lecture 1 - slide 44 : 49
Program 2

(let ((a 10) (b 11) (c 12) (d 13))
  (letrec ((g (lambda ()
                (+ a b c d)))
           (f (lambda (a b c d)
                (g))))
    (f 1 2 3 4)))

; With static binding: 46. The result in Scheme.
; With dynamic binding: 10.  The context of *the call* of g is significant.