Question: dummy(x) = 0 recur(x) = recur(x) What program should be executed to determine which of the call-by-value and the call-byname strategies is used by a

dummy(x) = 0
recur(x) = recur(x)
What program should be executed to determine which of the call-by-value and the call-byname strategies is used by a given functional programming language? Answer using the dummy and recur functions given in Fig. 5(d). Assume that from a program execution, you can only observe whether the program terminates or not, and the final value if the program terminates
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
