Consider the first-order functional program f x = x + 8 g…
Consider the first-order functional program f x = x + 8 g w = w * 5 h y = y – 2where we want to evaluate h (g (f 7)) using substitutions. Show the result of the first evaluation step for Call-By-Value, and also the result of the first evaluation step for Call-By-Name.
Read Details