- Let X 2 In Let F Fn Z X Z In Let X 100 In F X Draw The Run Time Stack After The Call To F X Just Before You A 1 (61.3 KiB) Viewed 15 times
let x = 2 in let f fn z => x + z in let x= 100 in (f x) Draw the run-time stack after the call to f x, just before you a
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
let x = 2 in let f fn z => x + z in let x= 100 in (f x) Draw the run-time stack after the call to f x, just before you a
let x = 2 in let f fn z => x + z in let x= 100 in (f x) Draw the run-time stack after the call to f x, just before you are returning to the caller. Draw both the dynamic (or control) link and the access (or static) link. What is the result in static scope? Explain how you obtain your result following the run-time stack. What is the result in dynamic scope. Explain how you obtain your result following the run-time stack.