Extent of Bindings
Extent: The span of time during which a binding is in effect.
(define z 0)
(define (fumble y)
(set! z 2) ; Z has indefinite extent
(+ z y) ; Y’s extent is the period
) ; during which the body
; of FUMBLE is being executed.
Previous slide
Next slide
Back to first slide
View graphic version