A side-effect-free call-by-value language has its ML-like syntax of expressions e extended to be able to model
Fantastic news! We've Found the answer you've been seeking!
Question:
A side-effect-free call-by-value language has its ML-like syntax of expressions e extended to be able to model call-by-name and (LISP-like) call-by-text: e ::= . . . | suspend e | force e (call-by-name) e ::= . . . | quote e | eval e (call-by-text) Both suspend e and quote e yield an unevaluated representation of e as a value for later evaluation by force and eval respectively. Sketch two programs (differing only in whether they use suspend and force or quote and eval) that give different results.
Related Book For
An Introduction To Statistical Methods And Data Analysis
ISBN: 9781305465527
7th Edition
Authors: R. Lyman Ott, Micheal T. Longnecker
Posted Date: