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:
Related Book For
An Experiential Introduction To Principles Of Programming Languages
ISBN: 9780262045452
1st Edition
Authors: Hridesh Rajan
Question Posted: