In the realization of call-by-name discussed so far, a promise is created for each argument expression. That

Question:

In the realization of call-by-name discussed so far, a promise is created for each argument expression.
That might seem like overkill. For instance, we don’t need promises for numeric values like 42 or Boolean values. Modify the semantics of the call-by-name Funclang interpreter to implement an optimized callby-name that doesn’t create promises for basic values like numeric values, Boolean values, string values, and unit values.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: